Tums at 38 weeks

Is it safe to take tums for heart burn and acid reflux ????