The H. pylori urea breath test test usually requires fasting in the morning, and fasting for at least 2 hours at other times is also acceptable. H. pylori test can assist in the diagnosis of chronic gastritis, gastric ulcer and other diseases, but also can check whether there is a recurrence after the eradication of H. pylori, usually can do carbon 13, carbon 14 urea breath test, rapid urease test and so on. When doing the urea breath test, because food will adhere to the stomach wall after eating, which will affect the test results, it is usually necessary to fast for at least 2 hours, and it is better to do the test on an empty stomach in the morning, or on an empty stomach at other times of the day. Rapid urease test is usually performed together with gastroenteroscopy, which is beneficial to the accuracy of the test. Before Helicobacter pylori test, you should consult with your doctor, under the guidance of your doctor, and make good preparations for the test, so as not to affect the test results.