This can prevent depressed patients from committing suicide. The duration of withdrawal symptoms strongly depends on whether the opioid is long acting or short acting. Medications used to manage opioid dependence can help to alleviate the unpleasant withdrawal symptoms associated with opioids. These two medications – which are partial and full opioid agonists, respectively – are administered to stabilize the patient. Then they’re gradually tapered off so as not to experience withdrawal symptoms.