A sore on the lining of your stomach or duodenum. People who take NSAIDs, such as aspirin and ibuprofen long-term, are infected with the bacteria H.pylori, or have a tumor in the stomach, duodenum, or pancreas are more likely to develop peptic ulcers.