Many people are facing the same problem. And it may caused by different reasons such as a corneal or lid problem, or maybe that your eyes get allergic. Under this situation you'd better go to see your ophthalmologist and get professional treatment. And sometimes your eyes hurt when you rub them may because there is some dust or eyelashes in your eyes. Use some teardrops to get them out and everything will be ok. Or maybe you just use rub your eyes too hard to give them a heavy strain. Then avoid rubbing them.
No matter what is the reason, do not rub your eyes. Because rubbing the eyes can break capillaries and make blood clots form. It can tear the eye lends and cause the retina to detach if it's rubbed too hard.
Several reason can make your eyes feel sting. First, your eyes may be tired or you may have strained eyes. When your eyes are tired and strained, it is not very relaxed, so when you rub them, they will sting. You will need some rest for your eyes. Second, you may have red eyes or some other eye infections, when you rub them, your eyes must be very uncomfortable. So go to the doctor and find out the real reason and cure it! Good luck!
When you rub your eyes, your eyes nerves will be stimulated. You may easily get the invisible bacterium in the eyes. That is why you feel the sting at the eyes. You'd better not rub the eyes which will cause the dryness and redness of the eyes. You should use the eye drops to release the symptom. You could use the warm compress to make the eyes feel comfortable.