If your dog doesn't relieve itself indoors, what you need to do is avoid taking it outside for about 10 to 15 minutes after it has eaten. At the same time, you need to train your dog to relieve itself in a designated spot indoors. Collect newspapers with the smell of your dog's feces and place them in the bathroom. Before your dog relieves itself, take it to the bathroom and force it to do so. If you persist, your dog will eventually relieve itself indoors.
How to let your dog poop and pee at home
Dogs usually defecate about 10 to 15 minutes after eating. Do not take your dog out for a walk during this time, otherwise it will get used to defecating and urinating outside.
If you want your dog to relieve itself indoors, you'll need to train it to do so in a designated spot. Collect newspapers that smell of your dog's feces and place them in the bathroom.
Every time your dog needs to relieve itself, take it to the bathroom and force it to do so. Over time, the dog will get used to relieving itself in the bathroom.