You didn't sleep well

>
Insomnia is associated with low levels of the hormone serotonin. That causes blood vessels in the brain to dilate and activate the trigeminal nerve—the main nerve involved in migraines, Dr. Grosberg says—leading to inflammation and the release of pain-causing chemicals.

 Go to bed and get up at the same time every day (even on weekends!), cut down on caffeine, and exercise regularly.