I have a headache due to eyes problem. What should I do?

Get your eyes checked, it may be due to refractive error.