Dehydration can bring on Migraines, drink a full glass of water to treat it. Then try wrapping your head with an ace bandage and make sure it covers your eyes. Lie down and breathe deeply, this often helps the pain pass more quickly, even if you need to take medication for the pain.
At least 30% of migraines are caused by diet. Keep a food journal to see if something you’re eating is causing yours!