human
What causes a migraine and how can I prevent them?
assistant
Migraines are caused by a combination of environmental, genetic, and hormonal factors. Common triggers for migraines include stress, certain foods, hormones, lack of sleep, and certain medications. To prevent migraines, try to identify your triggers and avoid them when possible. Other helpful prevention tips include exercising regularly, maintaining a healthy diet, getting enough sleep, and managing stress. Additionally, some medications, such as triptans or beta-blockers, are available to help prevent migraines.