You need to get your female dog spayed (about a month after her heat is finished) and him neutered (asap) if he is not already.
That will solve the problem.