Sharp pain when walking

Anna
I only have pain when walking. Its a sharp pain and then kinda goes into a cramp but if I sit down or stand in 1 spot it doesn't happen.... Anyone else experience this?