Hello, sounds like you have computer vision syndrome. A few simple tips are:
First, make sure that the light is not directly falling into the computer screen. This tends to get reflected from the screen into your eyes
causing glare and discomfort. Rule of 20: which means take a break after every 20 minutes for 20 seconds and look at an object 20 feet away to relax your eye muscles. You can also use lubricant eye drops. Hope this helps.