Stomach ulcers can be painful and they will significantly effect a person's health. Additionally, ulcers will limit a person's diet. The main cause of stomach ulcers is actually a type of bacteria infection from contaminated food. However, specific foods can irritate and exacerbate existing stomach ulcers. For example, highly acidic foo will aggravate stomach ulcers and cause more pain. Additionally, acidic food will prolong the symptoms of stomach ulcers. The best way to minimize pain when having stomach ulcers is to avoid drinking alcohol and caffeine. When it comes to eating, it is recommended that spicy food should be avoided.