By Mayo Clinic News Network

Medication is a proven way to treat and prevent migraines, but medication is only part of the story. Healthy habits can sometimes stop migraine pain before it starts:
1. Establish regular sleep hours. Take time to unwind at the end of the day. If you can't fall asleep, read or do another quiet activity until you become drowsy.
2. Eat at about the same time every day. Don't skip meals. Avoid foods that seem to trigger migraines.
3. Exercise regularly.
4. Keep stress under control.

Source: http://newsnetwork.mayoclinic.org/?s=migraine