You could be having GERD
and cardiac problem.
You need to avoid foods that make you have heart burn(acidic food oranges lemon), when you get heart burn, take anti acids they can help you, if they don't you need to see doctor who will do other tests like helicobacter pylori
tests to rule out other etiology. He may give you triple therapy where need be.
If the heart continuous beating through your chest you will need to see cardiologist for an ECG and other tests like echocardiography