RubyPitbull is correct. I am wondering if there is was a misunderstanding. Puppies can be neutered at any age, but it is more difficult before the testicles descend. I don't think there is any good reason to do so sooner. Usually that is about 6 months, but it varies.
Mounting the other dog may be more dominance than sexual. He may need better leadership. The key to most behavior problems is approaching things using the dog's natural instincts. Dogs see all the people and dogs in the household as a pack with each having their own rank in the pack and a top dog. Life is much easier if the 2 legged pack members outrank the 4 legged ones. You can learn to play the role of top dog by reading some books or going to a good obedience class. A good obedience class or book is about you being top dog, not about rewarding standard commands with a treat. Start at
Raising Your Dog with the Monks of New Skete For more on being top dog, see
Establishing and Keeping Alpha Position, Letting your dog know you are the boss He is younger than I would expose to so many strange dogs by taking him to a class. You can work on obedience out of a book. I start my 7 week olds on the way out of the kennel the day I pick them up. Here are some other ways better for a young puppy to show you are top dog:
''Elevation for small puppies: Sit on the floor and gently put your hands around your pup's middle, below his front legs, and lift him up. He is facing you. Hold him for 15 seconds. Repeat until he no longer struggles. If he is past 10-12 weeks, lift his front feet off the ground, but don't pick him up.
Cradling for small puppies: Hold your puppy gently on his back, as you would cradle a small baby. If he struggles, hold him firmly until he quiets for 10-15 seconds. With larger pups, you can do this as your sit on the floor, with your pup between your legs.
Quiet lying down: Place your pup on the floor on his side, with all 4 legs pointing away from you. Use your hands on his neck/shoulder area and middle, to hold him in this position. When he is quiet, praise him. Lengthen the time that you keep him quietly in this position. When he accepts this position well, handle his paws and muzzle, while keeping him quiet.''
The quotes mean this isn't my original work. It is copied from my Puppy Raising Manual. I have long used these or minor variations of them, and they are very effective. You may want to give him a belly rub while he is on his back too. Helps bonding. There is a big difference between him rolling over and demanding a belly rub, and you choosing a time to roll him over and rub his belly. The latter cements your place as pack leader.