The Root of the Behavior
First off, if your dog is stressed out or bored, the act of humping may give them something to do, especially if they regularly like to take part in this activity. If you're at work all day, your dog may just take on this new found habit to fill up her time until she gets her daily walk. Secondly, dogs may take part in this activity because it creates attention. If this is the case with your dog, you may want to pay more attention to your dog and provide them with daily exercise. More importantly, this behavior may come about when your dog interacts with others in a playful way, which is completely normal. Although females use their learned mounting behavior in a social way, it can also be extremely instinctual. During the female heat cycle, females will commonly participate in the humping behavior because their bodies are processing hormones in a different way. They have a stronger sexual desire, especially when they are around male animals. You can watch how your dog behaves when they participate in the act of humping to determine the exact reason for their behavior, whether it be boredom, attention, hormonal behavior dominance, or social play.
Encouraging the Behavior
If you can train your dog to stop humping something when they begin, it can make a world of differences. Yet, before you decide to train your dog, you will want to decipher why your dog humps others. Once you decide why your dog is humping, you can act accordingly. If your dog is bored, stressed, or has large amounts of energy, you can adjust their daily routine and take them on more walks. If they are trying to get attention, you can adjust the way you interact with your dog each day. The way you train and handle your dog will alter the way they behave on a regular basis.