Describe your knee pain. Sore, shooting, general, throbbing? Top of the knee, back of the knee, bottom of the knee? Does it hurt after riding, during a turn or what... need way more info to even begin guessing.
It could be that you just have weak knees and you need to do a bunch of squats etc...