Your eyes can get infections from bacteria, fungi or viruses.
Eye infections can occur in different parts of the eye and can affect just one eye or both.
Two common eye infections are:
Conjunctivitis – also known as pinkeye. Conjunctivitis is often due to an infection. Children frequently get it, and it is very contagious.
Stye – a bump on the eyelid that happens when bacteria from your skin get into the hair follicle of an eyelash.