Opioid Use Disorder Medically, opioids are used to treat pain and help provide some relief for patients during surgery, but due to the fact that they provide a feeling of elation when taken, they have been commonly abused. Share this:ShareEmailTweet