The quickest way to cure a mouth ulcer is by applying a topical gel or cream directly onto the ulcer. These products can provide pain relief and help speed up the healing process. It's best to avoid spicy or acidic foods, and maintain good oral hygiene to prevent further irritation.