Tums are very safe during pregnancy! I would move around if it feels like it is in your chest and not like it is in your belly or esphogus. Like move your arms around and change postiions.
I assume you're pregnant which is why you're asking but tums are ok during pregnancy. If that doesn't relieve it I would call your Dr to see if there is anything OTC that you can take.