Does heartburn mean you have a problem with your heart?

No. Heartburn is a burning sensation that happens when stomach acids splash up into the esophagus - the tube that carries food from your mouth to your stomach. It's called heartburn because the burning sensation can be felt in the chest near the heart.