Question: how to train your dog not to pee on the floor?
Answer: Here's what to do when that happens: 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.