Methadone has been used safely and effectively to treat drug addiction for decades. It has been prescribed increasingly as a painkiller because it is a generic drug that can provide long-lasting pain relief. But as methadone's use for pain has increased, so has nonmedical use of the drug and the number of overdoses