Take a few minutes to lie down on your back and close your eyes the next time a migraine comes on. 1  Rest anywhere from 5 to 30 minutes to help your migraine go away. 2  Note, however, that some migraines are caused by getting too much sleep. 3  If this may be one of your triggers, you should avoid lying down any longer.