Good day,
It looks like it might be an apthous ulcer although the photo is not clear. Apthous ulcers is an auto-immune disorder and flares up if you are stressed or if your immune system is a bit under pressure due to something else. They usually disappear between 14-21 days, but can flare up again.