Consistency is crucial. This may mean taking time off work to be there to take the pup outside every 20-30 minutes when they are awake. Crate training will also help the 'penny drop' as it teaches the pup to hold on until taken outside. Then, be sure to stay with the pup in the yard so you are there to reinforce how clever they are when they do go in the right place.
There is only one acceptable methodology for potty training a dog of any age: positive reinforcement. Traditional advice suggested swatting a dog or rubbing his face in his waste for mistakes in the house, but those techniques do nothing to make the potty training process more understandable for your dog and can actually damage your relationship with him. Keep in mind, dogs don’t view their waste the way we do – to them, pee and poo is pretty interesting! Punishing your dog for going in the house won’t help him understand what he should do instead and might make him afraid to go near you at all, inside or out. Successful potty training requires patience, kindness and remembering that your new puppy is just learning the rules.
It’s best not to punish the puppy for making a mistake. Instead, focus on praising appropriate bathroom behavior. If you catch your puppy in the act, interrupt it by saying “No!” in a firm voice or clapping your hands loudly, then take the puppy outside to finish going to the bathroom. Never swat your puppy, yell at it, or try to rub its nose in the mess.
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.