Will Rehab Actually Help Someone With a Strong Drug Addiction?

And how does this process work and is it expensive? I need it for someone to get themselves checked in. I’m worried their life is at risk!