This century has brought forward a phenomenon called 20-20-20. In plain and simple words it means after every 20 minutes of looking at a computer screen you should take a 20 second break and focus on an object 20 feet away.
This will give a helpful boost to your eyes.