Prescription pain pills, like OxyContin, Vicodin, and Percocet, are opioids. Opioids are a powerful class of drugs that includes heroin. While important for treating severe pain, these pills can cause problems when used for chronic pain (except cancer and terminal illness). Pain pills can lead to physical dependence, addiction, and death from overdose.