To prevent eyestrain, try to rest eyes when using the computer for long periods. Resting the eyes for 15 minutes after two hours of continuous computer use. Also, for every 20 minutes of computer viewing, look into the distance for 20 seconds to allow the eyes a chance to refocus.