Understanding the medical detox process