All diseases of the oral cavity are related to dentistry, which is quite logical, since "stoma" means mouth in translation. Accordingly, to the question of which doctor treats stomatitis, the answer is one - a dentist, adult or pediatric, depending on the age of the patient.