While they are generally harmless, recurring mouth ulcers can be a sign of an underlying condition. It's also a concern if you have a canker sore which hasn't healed after two weeks.