Be Strict and Punish Them
You have to be strict while training puppies. Whenever it excretes where it is not supposed to, punish them. Sounds difficult, but you have to do it. Sometimes, the owners try to punish the dog after they have excreted, but that is of no help. It will only instil a fear of the owner in the mind of the dog.