Make sure dehydration is not the cause of your headaches.

When you become dehydrated your brain tissue loses water causing your brain to shrink and pull away from the skull. This triggers the pain receptors surrounding the brain, giving you a headache. Dehydration also causes your blood volume to drop which in turn lowers the flow of blood and oxygen to the brain.