In most cases, a headache is caused by mild or significant dehydration. If so, it is dehydration you haven’t noticed.

To deal with the headache, simply drink more fluids.