Get your refraction done and wear spectacles
eat green veggies. Carrots. Strain less your eyes. Relax your eyes in between work. Blink regularily if working for long time on computer. Lower the brightness of your screen. Work under adequately illuminated conditions. If needed wear corrective spectacles.