A person with a stomach ulcer should avoid foods that are high in fat, alcoholic drinks, dairy products and spices and seasonings, notes Drugs.com. Chocolate, onions and tomatoes may also aggravate the ulcer. These foods stimulate the production of stomach acid, which may irritate the stomach lining.
Regular or decaffeinated coffee may worsen the problem, explains Drugs.com. Other beverages to avoid include orange and grapefruit juices, hot cocoa, cola and whole milk. Certain teas, including peppermint, spearmint, green and black teas, may also exacerbate the problem. A patient with this problem should not consume carbonated drinks, notes About.com.
Spices and seasonings that worsen ulcers include black and red pepper and garlic and chili powder, according to Drugs.com. Meat and related products, including sausages, corned beef, sardines or luncheon meats trigger ulcers, explains About.com.
Snacks such as cakes, cookies, pies, buttered popcorn and doughnuts are not good for people with stomach ulcers, states About.com. Other bad snacks include creamed candy, fried potatoes, chips, and sweets or desserts that contain nuts or fruit.
A person with stomach ulcers should avoid foods that are high in salt or sugars, advises Drugs.com. The patient should eat certain fruits and vegetables; lean protein; healthy fats, such as canola and olive oils; as well as whole grains, such as cereals, pasta and brown rice. Lean proteins include poultry, fish, nuts and eggs.