Heartburn!!!

Trez
Hey there I am about 11 weeks now. I had heartburn b4 I got pregnant but now it's crazy. I can't keep taking tums because they make me gag and some times vomit. I really need to know if it's safe for me to take a over the counter heartburn pill in the morning ?