Mouth ulcers are multifactorial... Stress, gastric esophageal reflux, drug induced ulcers,
vitamin deficiency, constant local irritation of mucosa, systemic illness can cause oral ulcers..usually ulcers heal I a weeks time anything which persistent needs to be attended by professional.
Next Steps
reduce stress, change lifestyle, eat healthy