Most eye infections are caused by viruses or bacteria. Many can spread from person to person. Learn about the symptoms of viral and bacterial eye infections, and also how to treat them.