There are three types of professionals who specialize in treating the eye. These include ophthalmologists, optometrists, and opticians. An ophthalmologist is a medical doctor specializing in the eye. An optometrist has a doctor of optometry degree and is able to provide full eye care. An optician is not a doctor, but a medical technician specializing in creating eyeglasses and contact lenses. To diagnose and treat eye infections, you would see an ophthalmologist or an optometrist.
In addition, an internist or family physician can prescribe antibiotics to treat infections such as conjunctivitis (pinkeye).