I walked around with the gas pain almost 26 hours. Guess what - it wasn't gas, it was a heart attack. See your doctor if a couple of tums doesn't fix the problem. .
You could have a strained muscle around the heart that makes it feel like it's your heart. Try a heating pad and see if that helps. I had the same problem for years when I was in my 20's.