Don’t be embarrassed by your dog’s mounting behavior; plenty of other dog owners can empathize with your situation. Both male and female dogs mount. In most cases, your dog is either attempting to show you he’s the boss of your household or is acting out for attention.
If he shows other signs of dominance, such as growling or snapping when you handle his food, walk next to him, or try to place a collar on him, then he may have a dominance problem. Discuss methods for managing or modifying his behavior with your veterinarian, a qualified trainer, or an animal behaviorist.
If Your dog does not show other signs of dominance or aggression, it’s possible that he is looking for attention. Many dogs enjoy even the negative attention they get from their human family members, who are often embarrassed by mounting behavior and implore their dogs to stop.
Your first step ignore the behavior as long as the dog isn’t bothering someone else. The second step is to decide what you’d rather have your dog do in those instances, and ask him to do it. For example, when he becomes excited and begins to mount, ask him instead to sit and wait quietly for a treat and warm praise.
He’ll soon learn that your game is much more fun than his. Also consider reducing the excitement level of those reactions that cause your dog to mount. Don’t make a big deal out of greeting him when you arrive home, if that’s when he does it. Make sure he is getting plenty of social activity and exercise; this excessive plea for action is likely a sign that your dog is bored.