Knee pain

Ra

So I sometimes get a painful knee, for example when I walk funny or sit in a certain way, with my legs tucked underneath me. This will go away on its own eventually, but will go away quicker when I click my ankle. I have to point my toes hard to get my ankle to really click.

Can anyone medical (or anyone who’s experienced this) tell me what kind of knee pain I’ve got if clicking my ankle helps? Thaaaanks!