Heartburn

So I've been having heartburn these past few weeks & I don't like medicine at all. I'm afraid of taking medicine because I don't want to harm my baby. But the heartburn is really hard to deal with, is it okay to take tums? Or is there any thing else I can do to get rid of heartburn?