assuming the cause of your eye infection was bacterial the use of antibiotic drops should limit your contagiousness in about 24 hours. taking some precautions after this time like handwashing is still recommended.
how long after receiving antibiotic eye drops is one still contagious?