Severe Heartburns ,Please Help

Shylisa
What is safe to take at 34 weeks?for heartburns 
I tried tums,milk,medicine from Doctor