Help me!!!, Heart burn/ acid reflux

Fulcher

So today I went to my doctors after suffering badly with these issues, I've come away feeling useless and let down by my practice 😡😥 I was prescribed a tablet form which I asked can I take while at 30+3 weeks?

I was advised yes once I picked up the tablets I always read the leaflet and it stated do not take while pregnant so I went back baring in mind I have a high flow heart murmur which is also stated not to take, the doctor I saw demanded I take them I told her I was not comfortable in taking something states both of these what can I take?????? Help as now rennie does not work gaviscon I've had 10 days straight