Have you been giving him a lot of bones? These will bind him up, a teaspoon full of oil will help.Milk Of Magnesia will settle a stomach. But make sure the dog hasnt got a blockage . I once had a pup with a piece of coal stuck up his rectum,,couldnt pass it,he had to be held and" digitally remastered".not a pleasant job, for either of us!