DIET FOR MOUTH ULCERS Food tips for mouth ulcers. The following recommendations would be useful to prevent the occurrence of ulcers in the mouth: - Avoid foods that could worsen mouth ulcers. These include oranges, lemons, grapefruit, pineapples, tomatoes, plums, walnuts, cherries, chocolate, vinegar, etc. - Moderate alcohol consumption, coffee and vinegar.