Stomach pain from daily Famotidine (Pepcid)

Hi all, I was just diagnosed with Barrett's esophagus, and the doc put me on Pepcid daily. A couple weeks in now and I'm experiencing all day stomach aches. Anyone else have this happen and did it get better?