source
The thing about house training is that it isn’t really a matter of training the dog at all. It is a matter of training the person to be attuned to the dog’s needs.

Think of it this way. A dog (regardless of their age) doesn’t know that doing their business on the living room rug or kitchen floor is a no-no. All they know is that mother nature is calling and they have to answer. A person, on the other hand, knows that a dog has to relieve itself every so often and knows that they want their canine friend to relieve themselves outside. So in a way it is all a matter of training the human to anticipate their dog’s needs.
If you’re bringing home a 10-week-old puppy for example, you should already know that a puppy’s bladder control (like a baby’s) is not great. They will need to go – a lot! So rather than waiting for the pup to piddle and then dealing with the mess, anticipate that your pup will have to go about every hour. Get them into the routine of going outside every hour and praise them when they water the flowers. Your pup will learn that outside is the place to be for that behaviour. As the pup matures their bathroom needs will lessen, meaning you can gradually cut back to going out every few hours. Dogs are creatures of habit, so if the human gets into the habit of taking them out regularly the dog will soon catch on and become scheduled, if you will.
Of course, such a technique is only practical if somebody is home all day with the puppy. If you’re not around during the day and decide to crate train your puppy, be sure to take them outside as soon as you get home. It is human nature to want to make a fuss and play right away, but all of that additional excitement won’t help your pup control their bladder. If this habit is repeated every time you come home, accompanied by regular outdoor outings in the evening, the puppy will again grow accustomed to this routine and soon be pestering you to go out.
Similarly getting older dogs into a bathroom routine can help make house-training a lot easier. The process is about creating a schedule and maintaining it thus avoiding accidents before they happen. Of course, this is simply one technique when it comes to house-training, but in my experience it has been very successful. What are your house-training tips?