Withdrawal from alcohol, sedatives or opioids can be dangerous,
https://brookswumw756.lumenforgex.com/posts/how-to-know-when-it-is-time-for-chemical-dependency-treatment
Detox is a first step, not the whole answer, and chemical dependency treatment continues once the body is stable. Once withdrawal is managed, the deeper work of recovery can begin. Ask a licensed treatment provider about safe options.