How is the cause evaluated?
Gastritis is inflammation of the stomach lining. An ulcer is a deeper break in the lining, and pain alone cannot tell them apart. H. pylori and medicines such as ibuprofen matter when looking for the cause. Tell the doctor when pain began and bring your medicine list and previous results.
How can endoscopy help?
Depending on your symptoms and history, the doctor may order a breath or stool test for H. pylori. If endoscopy is needed, the doctor can look at the stomach lining and take a small tissue sample. Follow the preparation instructions for that appointment.
Which symptoms need immediate attention?
Seek emergency care if you vomit blood or material that looks like coffee grounds, or pass black, tarry stool. These can be signs of digestive bleeding.