exercise stomach aches

Hi this summer I go hiking or long walks like I do every year. I have been suffering GERD since September but now after a couple of hours of walking I get terrible stomach aches.
Has anyone else had the same kind of problem?