Medical detox is often the first step for people who want to quit alcohol. The process itself entails medical supervision and supportive withdrawal management as the body clears itself of the toxic influence alcohol.
Detoxing from alcohol can be dangerous and the effects of alcohol withdrawal range from mild to moderate to severe to life-threatening and the symptoms can persist for weeks.
The absolute worst outcome from alcohol detox done improperly is that you can die. To be safe you need to be monitored by professionals.