To avoid solidifying bad habits, you should stop your puppy from humping another dog, even if it's just playing.