Methadone is a synthetic opioid. It is used as an analgesic. Besides relieving pain, it is also used to treat addiction to certain narcotics, and some illegal drugs. Methadone can also lead to: memory loss, shortness of breath, throat pains, stomach aches, and anxiety attacks.