Pepcid safety during first trimester ?

Sarah

I have been having miserable acid reflux and heartburn. Tums and Rolaids don’t seem to be working as well. I’m desperate, is Pepsid AC max strength ok??