The correct option is A dentist
Dentists are people who are specialised in treating all problems related to the teeth. Therefore, for all tooth related issues, one should visit a dentist.
Although an opthalmologist as well as a physician are doctors, an opthalmologist treats eye related problems while a physician is responsible for treating various other diseases and physical injuries.