I almost lost my dog a month ago do do a bowel obstruction. Not something you want to mess around with. The dog's stomach can twist (gastric torsion) and at that point it's pretty much game over. Get the dog to a vet. On the other hand, your dog could have something like parvo which again, is serious and requires a vet.