Provide him with water but go about 12 hours without giving him food to allow his digestive tract to settle down. Give him some of these foods to see if they help: canned pumpkin, yogurt, cottage cheese, chicken without the skin, and specially formulated dog food that may be recommended by your vet.