Ulcers can arise due to-traumatic bite,poor oral hygiene
I would advice you to apply dologel on the affected area.
Maintain oral hygiene well.
Take nutritious diet and fluids.
Vitamin becosules,c,iron supplements
has to be administered.
Please do visit your dentist
for further concern.
Hope this helps.