Treatment for Pink Eye. Pinkeye caused by a virus usually goes away without any treatment. If a doctor thinks that the pinkeye is due to a bacterial infection, antibiotic eye drops or ointment will be prescribed. Sometimes it can be a challenge to get kids to tolerate eye drops several times a day.