One possibility is the compress idea: Make a warm or cold compress by using a clean cloth and only boiled or purified water to wet the cloth. Place the compress on the closed eye. A warm compress typically helps to reduce discomfort, while a cold compress works well to reduce itchiness and inflammation.
Another is to head to the nearest pharmacy and ask the pharmacist for over the counter suggestions or to find soothing eye drops. Even just artificial tears eye drops can help restore the right amounts of salt and fluid on the surface of your eye and to lubricate it.
However, if it continues to be sore tomorrow or gets worse, call your doctor, in case you accidentally scratched your cornea. They have antibiotic drops and analgesic drops that can help in that case.