I've had this happen twice so far this winter. The first, I took to the vet and he injected the eye with antibiotics then sewed the third eyelid shut. The second, I treated daily with antibiotic eye ointment. Both healed up nicely.
You do need to check for anything in the eye though. Flush...