Withdrawal from alcohol, sedatives or opioids can be dangerous,
https://www.lahacienda.com/programs/adult-chemical-dependency-recovery-program
Some withdrawal needs medical supervision, and chemical dependency treatment continues once the body is stable. Counseling, groups and a recovery community then address the reasons behind use. Talk to a doctor before stopping on your own.