Stop eating general foods most people eat.
Eat low-fat meats, fruits, and vegetables. Raw is good too.

Stop eating fried foods, sodas, glutens, and sugars.

Most peoples headaches are caused by the crap they are really putting into their body. I used to get chronic headaches and migraines until I trained myself to eat healthier and more balanced (more veggies, less meat and potatoes).