Prescription medications such as Imitrex are now available to help treat migraines and other headaches. Daily medications may even be recommended for patients with chronic headaches to help prevent onset.