Gerd pain does not make me sleep at home and feel the pain, I go to the gym and do leg exercises later. I move the pain to the thighs, glutes and all over the legs, although at rest it feels very painful.
Of course, my condition still allows me to exercise, but if it is too much, I go home and choose to rest. So, you have to be good at measuring your abilities.