You could be straining your eyes. Please do the following:
1. Get an eye check up done, see if you need spectacles
2. Do not see screen for too long, few minutes of break every hour is a must
3. Practice the near far vision exercise
4. Work at an optimum distance, brightness and contrast
Overall see if cutting your screen time can help, if you still get headaches then consult a doctor.
Next Steps
To consult: https://www.practo.com/meerut/doctor/rajesh-kumar-gupta-general-physician-1