Question: how to train an older dog not to pee in 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.