Most people can be treated in an outpatient setting, but some may need a residential or inpatient facility. Seeking treatment as early as possible raises the likelihood of a successful recovery.