You can also undergo medication-assisted treatment (MAT). With MAT, you’re prescribed a less dangerous opioid to minimize the harsher detox symptoms. Medications like methadone or buprenorphine are common for MAT. However, you won’t be using these medications forever; they are short-term aids for helping people get free from opioid addiction.