How To Get Kitten To Stop Jumping On Legs?

my kitten keeps jumping up on my legs and shes only a little one. how do i stop her from doing this?she does not want to be picked up or petted, is it because of something im doing wrong?