Question: how to train your dog not to pee inside?
Answer: Interrupt your puppy when you catch them in the act. Make a startling noise (be careful not to scare them) or say "OUTSIDE!" and immediately take them to their bathroom spot. Praise your pup and give a treat if they finish there. Don't punish your puppy for eliminating in the house.