Eye infection is caused by a virus or bacteria, the infected person can be contagious for several days to several weeks once symptoms (itchy, watery eyes; with or without eye discharge) appear.