A study in the March Epilepsy and Behavior journal further confirms the potential benefit of melatonin on patients suffering with migraines and seizures. By taking a DHA supplement, you are providing the very acids on which your brain thrives. Avoiding caffeinated drinks in the evening is a good start.