What to do for an upset stomach?

My 7 yearold has had bad diariah for the last two days. I took him to his Dr this morning and she said it was because of his acid reflux and to give him some peptobismil and tums till the gastroenterologist calles to set up a appointment for him. My question is, has anyone had to take their young child to the gastroenterologist? Did it help?