Hi, the mouth ulcers could be an allergic reaction
to medications, a viral infection, a manifestation of immune deficiency
diseases, a response to dental treatments and chemicals and various other factors. The conditions needs to be treated after a careful clinical examination. Please consult a Dental Surgeon for the same.