The final step of detox is preparation for a treatment program. The clinical team familiarize their patients with the treatment process and what to expect. Inpatient treatment offers the best chances of success after detox. If detox takes place in an inpatient program, this last step is crucial to keep patients on track.