Similarly lack of sleep can also aggravate
headaches. I hope any visual defects have been ruled out.
Headaches can be tension headaches, the commonest of the lot, the others are migrainous headaches, those caused due to brain disorders, disorders of the eyes , neck or ears to name a few. To find a cure you need to consult your primary care physician for proper assessment.
Hope this helped and do keep us posted.