Most jobs nowadays involve some degree of computer usage, which can result eye problem. In order to avoid this, you'll have to properly protect your eyes following the steps mentioned below.

Adjust your screen lighting
Your eyes will often tell you if your screen isn't lighted properly. If your eyes are feeling strained, try adjusting your brightness settings in relation to your work environment.
Sit far enough away from the screen
Locate the computer screen 4 or 5 inches below your eye level. Ideally, you should look down at the computer screen at about a 15 to 20 degree angle. This ensures that more of your eyeball is covered by your eyelid, keeping your eyes moisturized and healthy.
Blink often
We naturally blink about 20 times every minute, but when focusing on a screen this can drop by as much as half. This means your eyes are at much greater risk of drying out when working on the computer. Since your body won't blink as much naturally, you'll have to be conscious of this and force yourself to blink.
20-20-20 break
Every 20 minutes, look 20 feet away from the screen for 20 seconds. This allows you to blink naturally and re-moisturize your eyes.
Take regular breaks
In every 3 hours take a break of at least 15 minutes.