Question: how can the doctor tell if you have a stomach ulcer?
Answer: The only way your doctor can tell for sure if you have an ulcer is to look. She may use a series of X-rays or a test called an endoscopy. She may also take a small piece of the lining to test for H.