Canker sores are small, painful ulcers that form inside the mouth, causing discomfort. Typically, these sores last for about 7 to 10 days, with mild cases resolving on their own. Over-the-counter topical treatments can help alleviate pain and speed up healing. However, if canker sores persist for more than two weeks or become unusually large or painful, it's essential to seek medical attention.