If you have an intractable migraine, or status migrainosus: Your ER doctor may give you a drug called dihydroergotamine (DHE-45) as an injection or through an IV, along with metoclopramide. They may also give you valproate in an IV. You may need to check into the hospital for a few days of these treatments.