Hello, your condition, from the perspective of traditional Chinese medicine, should be a symptom caused by yin deficiency and excessive fire and oral inflammation.
Guiding opinions:
1, you can take some Chinese patent medicines for nourishing yin and reducing fire, such as Baizhi Dihuang Pill, which will have a good effect if you insist on taking it for a period of time;
2. Tin powder can be used externally to treat ulcers;
3. Usually, the diet should be light, eat more fruits and vegetables, and don't eat spicy and greasy food.
I wish you health and happiness!