Medications such as ibuprofen and naproxen help to relieve head pain from migraines according to WebMD. Other medications include aspirin and acetaminophen.
For people who do not respond to over the counter medications, there are more powerful medications that work to relieve pain associated with migraines. These medications include Zomig, Maxalt and Treximet. These medications can also be obtained with a prescription from a doctor. They are also more prone to cause side effects such as flushing, sedation and nausea. Before taking any medication to treat migraines, a person should consult with their doctor since each medication works differently for certain people.