That's how dogs interact with other dogs. Kind of like you going to a tavern looking for love. You have to put them on a leash, walk briskly, and hold his head up high. Give the leash a little jerk when he is getting distracted. Do not stop and let him be the pack leader. He stops when YOU want to stop. When YOU feel it is time to start walking again, you walk. keep your head up high when you walk. If you look down when you walk, the dog will read you as insecure and feel that he must be in charge. One more thing, keep the leash right behind his ears. You will have the most controll when it is in that position.
Training, always take a puppy to the same spot and give the "go potty" command. Your dog may need training if he wasn't traiined as a puppy. Where is he supposed to pee.
shoot it
get him used to peeing with the leash on, so he'll get used to it.
Squirt him with a garden hose every time he does it.
to stop peeing on your floor?
You can get the male dog neutered, this should stop him from urinating in the house as much as he did.
The only way to prevent this, is to walk the dog in the evening. Don't give it pills, your dog will hate you for it.
Positive reinforcement or punishment... You can show it where to pee and give it a treat when it does. or If it pees on the other dog, look at the peeing dog and yell "no" it until it stops. Either should work but positive reinforcement way usually works best.
throw it away.
Go to Walmart and buy Puppy-Accidents mats. They are at least $5-$10.
punch it every time it does it.or grab it forcefully by the neck and lob it across the room.sooner or later it will begin to associate peeing on the table with pain, and stop.
You cannot get a guinea pig to stop peeing on you. They cant help it.
Check and see if your town has a leash law. This is a law that states that the dogs must be on a leash or in a fenced yard. If they do file a complaint and your neighbor will be given a warning. In my area three warnings means they take away the dog. There is also a spray out that suppose to stop dogs from doing this. Try your local pet store.