If the dog (male or female) is neutered in an attempt at correction, environmental/behavioural alterations are also advisable.
It should go without saying that the owners must not allow or encourage further sexual mounting.
If dogs could have their own TV show in the style of Jerry Springer or Jeremy Kyle, I'm sure it'd be tagged 'Why do I feel the need to hump everything in sight? Lest we not forget the dog or puppy who, quite simply, has a go at humping everything he can get his paws around, man, woman, child or inanimate object.
Dog humping, often embarrassing, occasionally humorous, but mostly an unwanted behaviour that many a dog owner would like to stop. Let's see if we can offer a solution on why dogs hump and, more to the point, how to stop dogs humping.
It's not even about pleasure, although that may play a role.
Dogs mainly hump because they're trying to assert themselves.
Neutering a dog or spaying a female is a big decision.
It, in and of itself, is not a cure for anything - other than the prevention of tiny little paws appearing sometime down the line. If the dog pesters for attention, it should be given a command before any reward of spoken praise or petting.
When correcting sexual mounting, it is best to distract the dog to some other activity before it becomes firmly attached to a leg or other part of the owner's anatomy.
Watch a litter of puppies at play, and you'll see that they spend quite a bit of time climbing on top of each other, mounting and sometimes, even the littlest of the little squirts, thrusting their Elvis-like hips in a mesmorising display belying their tender age. The more assertive dogs may take advantage of their position and throw in a little humping session now and then.