Substance misuse can weaken the body’s natural defenses against pain, making it so that the person builds up a tolerance to prescription opioids and requires higher doses to achieve the same effects. Different kinds of opiate pain medication may be safer for people who have a history of substance misuse. Physicians may also want to consider long- or extended-release formulations to decrease the risk of abuse for patients with a history of addiction.