See a doctor for evaluation if you have persistent upper abdominal pain, burning, bloating, nausea, or early fullness
Ask about a Helicobacter pylori test, such as a breath test, stool test, or blood test
Ask whether you need an upper endoscopy to look directly for an ulcer
Watch for warning signs such as black or tarry stools, vomiting blood, or severe sudden abdominal pain
Notice whether pain improves or worsens with eating, which can help a doctor assess the cause
Check whether you use NSAIDs such as ibuprofen, naproxen, or aspirin, which can increase ulcer risk
Seek urgent medical care if you have fainting, weakness, chest pain, or signs of heavy bleeding
Do not self-diagnose, since similar symptoms can come from reflux, gastritis, gallbladder disease, or other problems
