Almost everyone has heartburn from time to time, but if you have a particularly severe episode of it, you should bypass making a doctor's appointment and head straight for the hospital. The chest pain that comes with heartburn is often very similar to a heart attack, so don't write off a persistent or acute ache as heartburn. A heart attack is usually differentiated from heartburn by shortness of breath, sweating and dizziness, but when in doubt, head to the hospital.
Complicating the matter, certain medications taken by those with cardiac issues often bring on acid reflux or heartburn. Calcium channel blockers, which decrease blood pressure, and nitrates, used for coronary artery disease, can cause acid reflux. If you suspect that a heart medication is bringing on heartburn or acid reflux, speak to your doctor before making any changes to your meds or diet.