Question: how to train a dog not to pee and poop inside the house?
Answer: Watch for sniffing, squatting, circling or tail out straight — and take the dog out immediately. If the dog begins to poop/pee inside: Immediately interrupt him by clapping and saying “Ah ah!” Get the dog outside as soon as possible (carry him whenever possible and put the leash on the dog as you head to the door).