Endoscopy is done by passing a long tube through the mouth and into the stomach and small intestine. It is the most accurate way to diagnose a peptic ulcer. This may be needed if other treatment methods fail. If you have an ulcer, you can soothe the pain in various ways. Big, heavy lunches and dinners can spell trouble for people with ulcers.
Frequent meals tend to take the edge off pain.
Avoid anything that will stimulate excess stomach acid. That includes coffee, tea, and soft drinks containing caffeine. Even decaffeinated coffee should be avoided because it can cause heartburn. Smokers get ulcers more often than nonsmokers. No one is sure why.