Experts recommend testing anyone who has a new or recurrent stomach or duodenal ulcer, including those who regularly take nonsteroidal anti??inflammatory drugs such as ibuprofen and aspirin, which are known produce ulcers in some people But people with chronic acid digestion need not be tested because treatment to eradicate H. pylori infection, if found, has not been shown to relieve the symptoms.