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. more on this
Don’t punish your dog if they pee inside. Regardless of all those old training ideas punishment isn’t a good deterrent for house training. Yelling at your dog after the fact just confuses them and makes them nervous around you. If you catch your did in the act you can try to get their attention & move them outdoors. If you’re successful & they continue going once you get outside praise them like crazy. Are dog head halters cruel?