You should visit dentist
as there might be multiple reasons causing the ulcer
in tongue like sharp tooth irritating the part of tongue, or if you have any denture etc might be causing the same. In some cases it could be systemic factors like vitamin deficiency
, bacterial/viral infection
or oral cancer.
Please visit the dentist soon for the same.