The three classes of medications most commonly misused are opioids (usually prescribed to treat pain); central nervous system depressants (used to treat anxiety and sleeplessness); and stimulants (most often prescribed to treat attention deficit hyperactivity disorder and narcolepsy).