You might try an antacid, but don't go and chew up the strongest one they sell. When I have an attack at night, first I sit in a chair for a few minutes to let gravity drain the acid from my esophagus, then, when I return to bed, I take half of an antacid, but I do not chew and swallow. Keep it in your mouth to dissolve slowly. The idea is not to reduce the stomach acid you need for digestion (and which would slow digestion, making your attack return in a bit) but to neutralize the acid in your esophagus. Hope this helps.
For my GERD issue this is what I do: Saltine crackers, a shot of red wine, DGL tablets should help. I also do Keifir yogurt once in awhile. Those anti-acids will be bad for you eventually. You need acid for digestion of calcium and proteins. But hey, don't follow my advice as I am not a doctor but have the same thing as you. An empty stomach hurts me too. Chew your food to death before you swallow it what has been helping me too.
Hello and welcome to the forum. I assume since you have tried different medications that you are working with a doctor. Keep doing so as that is what is best. Hard question but necessary. Are you at all overweight? Simply losing weight can help with Gerd. Copy and paste this link for lifestyle ideas to manage gerd. These include losing weight if necessary, giving up things like smoking, alcohol, carbonated beverages and coffee. https://www.webmd.com/heartburn-gerd/guide/lifestyle-changes-heartburn What does your doctor say about the situation?