Answer by
Martha98 (39)
It may be due to anxiety and insecurity. One method to stop your dog doing this would be to watch him for signs of peeing, and just before he starts, squirt him with a water bottle, or make a loud noise, then lead him outside.