Hello there is nothing to worry , having mouth ulcers are very common unless you don't eat tobacco it's generally just some multivitamin deficiency . Please take b complex capsule along with that if their is some sharp area on the tooth which is causing or irritating the ulcer visit a dentist to get it checked .
Health Tips
For fast healing of ulcer you can apply honey on it so that it soothes that area , also if it's hurting during eating put an anesthetiser gel for the transient period