Yup. "Knee pain" covers an awful lot of territory.
Before anyone can speak to your specifics, we need to know where. Until then, all you'll get are assumptions. B Carfree's recommendations are okay for general purpose, all around soreness. But most of us consider soreness different from pain. Where it hurts makes a difference in what will fix it.
Does it hurt only while cycling, or afterwards as well?