Provide the dog with some plain white rice and chicken (without the bones).
Your dog might have food allergy. Try to distinguish what you feed the dog and see the reactions. Some dogs need a high fibre whilst some can not handle it. It is a trial and error process.
There are a lot of specialty diet pet food on the market. If this doesn't work, take your dog to a vet.