Nexium is known generically as esomeprazole magnesium enteric-coated tablets, and Helicobacter pylori testing should not be performed after taking this medication. Esomeprazole is a proton pump inhibitor that can be used in combination with appropriate antimicrobial therapies to eradicate H. pylori and to heal duodenal ulcers associated with H. pylori infection. The drug can therefore interfere with H. pylori testing. In addition, antibiotics such as amoxicillin and bismuth such as bismuth pectin need to be discontinued for 4 weeks before the H. pylori test, and acid suppressants such as omeprazole are usually discontinued for more than 2 weeks. Helicobacter pylori test 1 to 2 days before try to rice porridge, thin rice and other low-fiber diet, so as not to irritate the stomach and intestines. You need to pay attention to keep fasting for more than 2 hours before the test. Once H. pylori is detected, it is recommended to be treated under the guidance of a doctor in time to avoid causing diseases such as gastritis, gastric ulcer and even gastric cancer.