How do I stop getting bloodshot eyes whilst on the computer for hours?

Eye care. Look away from screen & blink every 10-15 min. Consider rewetting drops (not decongestant drops). If you use contacts: be sure to clean & use them as directed by your eye doc, consider switching to daily disposable contacts if you use monthly's, & consider wearing your glasses more often. Consider other causes of red eyes such as allergies. If still have probs, please talk w/ ur eye doc.