I had knee problems for another issue: poor kneecap tracking, due to insufficient and/or unbalanced use of the muscles that pull the kneecap from the sides (I was only using my quads and hamstrings, but one is "supposed to" use other muscles to make the kneecap (patella) track along the path it is supposed to track along. Non-use of those muscles (e.g., obliques, psoas, etc.) kept them short, and helped pull the kneecap off-axis.
It's evident from these posts there are a lot of different problems that can cause problems in your knees, and that a medical evaluation by a suitable expert, who specializes in skating and/or dance, might be helpful. (A general family physician or PT who doesn't know much about skating, or similar activities like dance or gymnastics, might be less helpful.)
The big thing I needed was an evaluation by a really good Sports PT (Physical Therapist) (
Dave McCune, Ithaca, NY), one who has dealt with a fair number of skaters and dancers. He gave me a number of exercises to do specific to my issues. But he wasn't cheap - about $100, I think.
There is also a sports PT who regularly posts to this forum, (user name rsk8d), who might be competent to give such an evaluation, as she runs a business that sells PT/related videos and info to figure skaters.
I've also noticed that there are a few figure skating coaches who are also PTs.