Question: how to train dogs not to pee inside the house?
Answer: If you catch your dog in the act of eliminating in the house, do something to interrupt him like making a startling noise (don't scare him). Immediately take him to his bathroom spot, praise him, and give him a treat if he finishes eliminating there. Don't punish your dog for eliminating in the house.