Anyone dealt with gastritis while pregnant?

I have chronic acid reflux and sometimes get gastritis attacks. Most unbearable pain I've ever endured in my life. Usually docs give me tons of meds but having an attack since yesterday and don't want to take anything besides antacids due to now being pregnant. Not sure what else that's safe that I can take but omg it hurts so bad.