One reason you need to go to a residential treatment center is for you to change your habits. If you don’t change your habits, you will continue to get addicted and end up going through the same agony of detox and rehab, over and over again. So, the first thing you need to do is figure out what is causing you to have the habits you have. And, to do that, you need to talk to a counselor or therapist to figure out what is causing your habits.