Hello, if you use your eyes a lot, they get strained, so when you stare at a computer screen intensely for hours it isn't a surprise when your eyes get sore. But you can try turning the computer screen down, or brightening the room. Some people have sore eyes because of light imbalance between the brightness of the screen and the room. Just pay attention to that and you will be fine, good luck.
Your sore eyes are related with the long time surfing on internet. It is very bad for your eyes to feel painful. Your eyes may feel so tired after the long time use in front of the computers. In addition, you could also get the eyes infection. You'd better use some eye drops to release the symptom. You could also use the warm compress to make the eyes feel comfortable.