When a person has become physically dependent on opioids and suddenly stops taking them, they can expect to experience an intense amount of discomfort and physical cravings. The goal of medication-assisted treatment is to give the person certain medications that can curb the symptoms of withdrawal and allow them to focus on learning healthy habits that can lead to long-term success in recovery.