For the migraine.....cool or cold dark room works best.
Ibuprofen is a great idea too, it will reduce the swelling of blood vessels that is a symptom of a migraine, and while it might not get rid of it, it should bring it down to a dull ache at least.
Take a warm shower AFTER your migraine...