These may come from trauma (brushing teeth to hard), stress
or certain foods. They commonly have viral origins in which case they should last 3-14 days. Other possible causes include crohn's disease
, behcet's disease, vitamin/mineral deficiencies, immune deficiencies, and some meds. Any recurrent or non-healing ulcers deserve evaluation by a physician. Thanks to j. Batt.