I just learn the when heartburn becomes a frequent, almost daily problem, you need to be evaluated by a doctor. A good test for GERD is endoscopy. In this test, your doctor inserts an endoscope– a thin tube with a video camera through your mouth into your esophagus to view your esophagus and stomach. During endoscopy, your doctor may take a small sample of tissue (biopsy) for analysis.
Another diagnostic test for recurrent heartburn is a pH-monitoring test. A thin, acid-measuring probe is places in your esophagus for up to 24 hours. The probe records how much acid washes into your esophagus and how often it occurs.
These test help your doctor diagnose GERD and rule out conditions, such as ulcers, that can be related to heartburn.