Is he neutered?

Most male dogs will do that when a female is in heat. Its normal.
Crate your male and let him out only to go potty and exercise. Sounds mean but it will cut down on the urine in the house. To avoid this in the future have your female spayed and your male neutered