If you go to your doctor and say, 'every time I do - well, whatever? - it hurts.' your doctor will say, well don't do it. It probably doesn't take too much brain work to apply that principle when feeding your dog.
It probably has stomach problems because you are feeding it junk food - hamburgers, and certainly something that can never be considered a dog's normal diet - rice.
By the way, what is kibble?