There is no single timeline for medical detox,
https://lanelfzz765.keystonescope.com/posts/how-long-medical-detox-takes-and-why-it-varies
The length of medical detox depends on the person, because substance, health and history all play a part. Compassionate support treats addiction as a chronic disease, not a moral failing. Talk with a doctor or treatment provider about your options.