Apthous ulcers or canker sores occur for various reasons or triggers.
They are believed to be an auto-immune type lesion to several triggers, like trama. I have patients that get lesions when they drink red wine, or eat peanuts. They normally run their course for ten to fourteen days. They can be treated topically to relieve pain.