Yes, medications are a common and effective treatment for migraines. Over-the-counter medications like ibuprofen or acetaminophen can help with mild migraines, but prescription medications such as triptans or anti-nausea drugs may be necessary for more severe cases. Preventive medications, like beta-blockers or antidepressants, may be prescribed if migraines are frequent. Always consult a healthcare provider before starting any new medication, especially if you have other health conditions or are taking other medications.