That's what I started taking 4 wks ago because tums would no longer help. The medication your on is the generic form of a name brand OTC meds (I can't remember which one right now). I asked me doctor if that was ok, since my husband takes it too. My doc said it was ok. I would still check, I'm 38wks, and it may be different for different stages of pregnancy and I don't know your dosage. Maybe call your OB and ask. Good luck!! And heartburn is a B!!
Pepcid and tums were my two allowed reflux meds.
Prevacid is pregnancy category b. That is usually the one I see recommended or prescribed.