After a migraine, it can help to rest, drink water, and take vitamins such as magnesium and riboflavin. Pain medication can help, but people should check with their doctor because too much pain medication can exacerbate headaches and migraines. If someone is struggling with fears of a future attack, mindfulness and gratitude practices can help put those worries aside and live in the moment.