The most commonly prescribed class of drugs for migraine are the triptans. These are all meant to be taken on an as-needed basis, at the first sign of headache, and they include Sumatriptan (Imitrex); Zolmitriptan (Zomig); Rizatriptan (Maxalt); and Eletriptan (Relpax).