My gynae prescribed Gaviscon for me when I had very bad acid reflux.
In any case, just inform your gynae on your symptoms and let them prescribe for you.
Your doctor wouldn't prescribe you things that would affect your baby negatively. And I don't see why we should suffer during pregnancy if the medication is safe for the baby.