I'm in pain what do I do

I've made a post similar to this one recently but I am suffering from terrible acid reflux. It's too the paint where eating anything solid hurts terribly. I went to the doctor and was told to take pepcid but that honestly hasn't done a lot so far. Every time I swallow it hurts and burns on the way down and it hurts. I don't know what to do someone please give advice