Puppies usually begin to start humping during the time they learn to walk which is around 2 to 3 weeks of age.
So when the puppy begins walking you can expect them to begin humping soon after as well and they may even try to hump your leg or other objects and if they do you need to stop that behavior because humping legs and furniture or other things besides other dogs is not appropriate.