You may also notice common behavior problems in your dog such as jumping up, barking, or even aggression. The best way to correct any misbehavior is to interrupt it. Shift your dog's attention to something positive. Try running through cues that your dog has mastered followed by rewards. Keep your demeanor cool and confident, and be clear about what you mean.
It's not so much the dog doesn't listen, more that he doesn't understand what you want him to do. Go back to basics and don't punish him when he toilets indoors. Double your vigilance and take every opportunity to put him outside to toilet. The crucial thing is to be present when he does toilet in the correct place, so that you can reward him. This makes him keener to repeat the performance to get another treat. Conversely, if you have been telling him off for indoor accidents he may already feel inhibited about going to the toilet in your presence, including when he goes outdoors. This is one reason why it's important not to punish for inappropriate toileting.
Introduce your new pup to its new home, family and their role. Just like when you are new to a place or group, your new pet may be bursting with curiosity, excitement, fear or joy. Now is the best time to lay out the foundation for a good and pleasant relationship with your pet. For a puppy to settle in and learn to trust and respect you and everyone at home, it is very important to establish your expectations of your puppy and be consistent with them.
If you’re like me and have trouble keeping up with your pup at all times try using a tether. You can buy a tether from the pet store or simply do what I did and use a long lead or leash. If tethering your pup to you at all times is what it takes to make sure they’re not sneaking off then go for it. If you’re not keen on keeping your dog tethered you can use baby gates or closed doors to restrict your dogs access to the whole house.
The process is the exactly same for older dogs as it is for puppies; prevent accidents from happening by using baby gates and a crate if possible, create a predictable schedule, learn to recognize your dog’s potty signals, accompany your dog outside and immediately reward for all outdoor elimination, properly clean any accidents and supervise your dog until you’re sure that he understands the rules.