Treatment for eye infections depends on the cause. Treatment may include compresses or eye drops. It may also include ointments or antibiotics.