What kind of activities are there, usually, to do in drug rehab centers?

Can you answer Lexi’s question about Addiction?:

I have an old friend who has admitted himself into drug rehab for cocaine. I’m just curious as of to what kind of things they are able to do while they are in rehab. Like, what are ALL the rules behind it?

Prescription Medication Addiction