My wife used to get migraines. It turned out to be a combination of low blood sugar and allergies. Now she eats after exercising, especially in allergenic surroundings. Hasn't had one in many years. She used to take Cafergot for them. That's probably ancient history. Whatever it is, prevention is the thing. Once you've got one, you're screwed.