What is age of your female dog? Is she in heat? If she is in heat then she can become pregnant. If she is not in heat then humping behavior in dogs is to show their dominance. Sometimes, this humping behavior in male dogs is due to irritation in the urogenital tract cause by infection. If this is case then your male dog needs to be investigated for urinary tract infection. If he is free from any infection then You should keep him away from your female dog. You can also discus this your local vet.
My friends has a girl german shepard which is on heat,her boy Staffy will not stop humping her,also he is very hi-per with her,he wont eat or drink.hasn't done for 2days,he even humps thin air he is so desperate,so is my friend,please help,