Pepcid while pregnant?

Ashley • 25🧸Mommy to 1. Pregnant with baby #2! 9 months TTC🍼
Hey guys, so I've been cursed with the heartburn times 20! I've tried Tums and they don't seem to help, I've tried Zantac and it doesn't help either! So here I am at my last resort to try Pepcid AC (equate brand). I was wondering if it's worked for any of you girls! I usually take it before bed because I wake up a few times at night and cough up acid and it's gross.