The medications used during detox will depend upon the substance of abuse and the severity of withdrawal symptoms – this will be assessed on a case-by-case basis. You may receive antidepressants, anti-anxiety medications, opioid substitutes, and sedatives to relieve insomnia, amongst others.