Canker sores may develop due to irritation of the oral tissue by various physical or chemical factors, allergies, vitamin and mineral deficiency, hormonal changes and stress. If you have canker sores that do not go away on their own within a few weeks, you should see a doctor.