In one sentence, describe what the following article is about:

If you get heartburn more than once a week, schedule an appointment with your doctor. You should also plan on seeing them if your heartburn doesn’t get better with home remedies or over-the-counter treatments. Your doctor may suggest other treatment approaches or run tests to determine if you have a more serious underlying condition.  Your doctor may recommend a variety of tests to determine what might be causing or contributing to your heartburn. Some common tests include X-rays of the esophagus and stomach, endoscopy (in which a tiny camera is passed into your esophagus to check for abnormalities), or acid probe tests to monitor the presence of acid in your esophagus. Give your doctor detailed information about your health history, any symptoms you’ve been having, and any medications or supplements you are currently using. The symptoms of heartburn can be similar to those of a heart attack, so get immediate care if you have any doubt about what you’re experiencing. Go to the emergency room or call emergency services if you experience severe burning, pain, or pressure in your chest along with symptoms such as:  Difficulty breathing Pain that radiates into your arm or jaw Nausea, indigestion, or abdominal pain Weakness or fatigue Cold sweats Lightheadedness or dizziness Sometimes heartburn comes with other severe symptoms that could indicate a more serious medical issue, such as gallbladder disease or more severe gastroesophageal reflux disease (GERD). Call your doctor right away if your heartburn is accompanied by:  Persistent nausea or vomiting Difficulty breathing, especially after vomiting Pain in your mouth or throat, especially while eating or swallowing Difficulty swallowing

Summary:
See a doctor for persistent heartburn that doesn’t respond to home care. Seek emergency care if you have heartburn with heart attack symptoms. Get medical attention if you have nausea, vomiting, or mouth pain.