If taking something to settle your stomach doesn't work, then you should have someone take you to the hospital to see if you might be having a heart attack. They can get things under control, and give you the help you need if that is what is wrong, and if it turns out to just be heartburn after all, they can give you a stronger stomach aid to cure it.
_________________
If a man does not keep pace with his companions, perhaps it is because he hears a different drummer.
Let him step to the music which he hears, however measured, or far away.--Henry David Thoreau