Some studies suggest that an ulcer diet doesn't effectively treat or prevent ulcers, but berries, eggs, lean meats, and whole grains may help to limit symptoms. Fried foods, citrus fruits, and alcohol ...