You may not be able to have the test, or the results may not be helpful, if you just had another test that uses barium contrast material. An upper gastrointestinal endoscopy should not be done less than 2 days after you have a type of X-ray test called an upper gastrointestinal (GI) series so your doctor can see your stomach and small intestine.
What To Think About
An upper gastrointestinal (GI)endoscopy is the best way to examine your esophagus, stomach, and upper small intestine (duodenum). Your doctor can take a tissue sample to test for H. pylori infection, which is believed to be the main cause of stomach or duodenal ulcers. To learn more, see the topic Helicobacter Pylori Tests.