Anyone take Pepcid during whole pregnancy?

J

I’m 13 weeks and Dr told me to start taking Pepcid at 11 weeks as tums was not doing the trick. I’ve had to take it everyday before dinner (even for bland foods which is mostly what I can tolerate thanks to “morning” sickness). And if I don’t take it I suffer from heartburn... My question is for those who took it their whole pregnancy were you able to stop after baby came? I’m so worried my body will become dependent after taking it for so long.

Thanks so much for reading and any advice!!