Almonds contain a natural pain-killing agent called salicin.
Salicin is an anti-inflammatory agent that is produced from the Willow bark. This agent is also contained in over the counter pain killers like aspirin.
In addition, almonds contain high level of magnesium, and this helps to relax muscles and minimize nerve excitability and therefore it also helps to reduce headaches due to stress and anxiety.
Almonds can be eaten in any way, raw or they can be soaked overnight, They can be added to meals or in-between meals. Eat a handful of almonds between meals, approximately 10-12 almonds should be eaten daily for relieving and preventing headaches.