Dehydration is a trigger for different kinds of headaches, including migraines. If you haven't had enough fluid, a headache can also be a sign of dehydration.