There is no definitive answer to this question as it depends on the person's individual body chemistry. However, some foods that may increase the risk of developing ulcers include spicy foods, acidic foods, alcohol, and NSAIDs (non-steroidal anti-inflammatory drugs).