Consulting a dentist would help u.There may b many reasons for ur ulcers..
Vitamin deficiencies
Faulty food habits
Tobacco/smoking or other habits
Gastric issues(acidity etc)
Next Steps
Visit a dentist and after clinically seeing the case he may advice if any other specialist u need to visit .
Health Tips
Avoid eating spicy and hot food till then.