Actually, it's quite common. People goof and rub their eyes after applying hand sanitizer. Wash it well with clean water for 10-15 minutes. If it gets worse, or if it continues for a half hour to an hour, go to the doctor.
https://householdproducts.nlm.nih.gov/cgi-bin/household/brands?tbl=brands&id=7005062
This is the US Dept. of Health and Human Services site.