Mouth ulcer likely
From your description it is likely that you are having an episode of apthous ulceration
of the soft tissue in that part of the mouth.
They can vary in cause and location but are self-limiting. That means it will resolve over time without treatment. Allow one to two weeks for healing. If no improvemnt is noticable then have the area examined by your dentist.