When I have "pink eye" (that's what I call it) I get an antibiotic ointment from the eye doctor. I don't think we have anything over the counter that would cure an eye infection. I have not had an eye infection for 20 years, not since I have been going to the eye specialist in Iowa City.
She prescribed a daily antibiotic, doxycycline, that I have taken daily for all these years and I've not had one infection. It's an ab you can take for an extended period of time, very different from the others.
I hope your eye clears right up but if not, I'm sure you will go to see your doctor.