Every time your dog pees or poops outside it needs to be celebrated. Give them baby talk or a treat, jump up & down, pat their little heads & remind them of how brilliant that decision was. Yes it might look silly, but your pup needs to know he’s done the best thing ever. When you consistently praise your puppy for going potty outside they’ll start to understand that it’s the correct decision, and one that leads to super fun happy time.
Let your new dog gradually earn freedom throughout your home. A common error that many pet parents make is giving their new dog too much freedom too soon. This can easily lead to accidents relating to housetraining and destructive chewing. So, close off doors to unoccupied rooms and use baby gates to section off parts of the house, if necessary. One of the best ways to minimize incidents is to keep your dog tethered to you in the house and by using a crate or doggie safe area when you can’t actively supervise him.
Both dogs and humans benefit from a predictable, consistent house training routine. This routine should account for confinement time, potty breaks, meal times, play time, training time, walks, and all the other enriching activities that are part of your dog’s daily life. Routines make your job easier and help your new puppy get use to your lifestyle.
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.
Every dog needs to learn to walk on a leash. Besides the fact that most areas have leash laws, there will be times when keeping your dog on a leash is for his own safety. Learn how to introduce your dog or puppy to the leash, then teach him how to walk properly on the leash, even beside you on a bike. A loose leash walk teaches your dog not to pull or lunge when on the leash, making the experience more enjoyable for both you and your dog.