Question: how to train your dog not to pee and poop?
Answer: One of the easiest ways to train a dog to go only in one spot is to train it to go on command. Take your dog on a leash to the spot you want it to use, and say the cue word. Keep the dog in that spot until it goes, then offer a reward. Only reward the dog when it goes in that particular spot.