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.
This is the US Dept. of Health and Human Services site.