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.
Confine your puppy to his, 'puppy-proofed' bathroom or an exercise pen and paper (or wee-wee pad) the entire floor. Put his bed, toys and food/water bowls there. At first there will be no rhyme or reason to where your pup eliminates. He will go every where and any where. He will also probably play with the papers, chew on them, and drag them around his little den. Most puppies do this and you just have to live with it. Don't get upset; just accept it as life with a young puppy. The important thing is that when you get home, clean up the mess and lay down fresh papers.
This method is the most effective and flexible. Your pup needs to develop his natural "den instinct" and learn where to eliminate - and where not to. To potty train our puppy we must condition a desire in the pup to avoid soiling the "den" - your house. Confinement and your due diligence in providing access outside the "den" to potty and poop will develop this instinct and eventual desire. When and how to use confinement is described in detail below.
Training clubs that run the Kennel Club Good Citizen Dog Scheme - the largest dog training programme in the UK are a sensible place to begin. Here you will learn about every aspect of dog ownership from the Puppy Foundation Courses through to Bronze, Silver and Gold award levels. Go to GCDS Training Clubs in your County to find one near to you or email the GCDS Team ([email protected]) or call 0207 518 1011.