5. Navy Beans
One cup of navy beans has more than 25% of magnesium too, it has a role in muscle contraction – including those blood vessels that cause headaches. You could alsograb some bananas, almonds, avocados, spinach and apricot.
6. Water
It’s not food but staying hydrated is one of the most important things you can do to prevent headaches.
7. Cherries
Cherries contain compounds that convert to nitric oxide in the blood, which can protect against headaches. Beetroot or its juice is also a healthy option.