Most people at some point will accidentally scratch their cornea. It hurts like a mother but it heals very quickly. https://my.clevelandclinic.org/health/diseases/14423-corneal-abrasion It is extremely natural to want to rub and fiddle with your eye. Try not to because leaving it alone is the way it heals. My guess is you wake up tomorrow and it feels better. If it does? Then it was the normal thing that happens to us all. If not, then give your doctor a call. You can call your doctor about this, just your gp. I had a friend once go to the emergency room. Had a scratch on the cornea and they applied an ointment to it there. Then sent him home with the ointment. But this was a wound that he made falling into a corner of something hitting his eye. (hurts me to just say that-- ouch). Let us know if you feel better after a nights sleep (eye shut for sleep time, HEALING).
Hello~It would be wise to see either the optometrist or ophthalmologist to rule out anything serious.
First, you should stop scratching your eyes for any reason. If they itch, rinse them with a bottle of PURIFIED water. Second, you should see an ophthalmologist - that's the eye doctor that treats illnesses of the eyes.