Well, without knowing the relevant clinical details or a detailed clinical evaluation it would be difficult to identify the cause of
knee pain
in your case. Possibilities include chondromalacia, tendonitis, bursitis, fractures, patellar dislocation, injuries to the internal knee ligaments/ menisci, infections/ inflammations, arthritis, cyst formation, bone growths/ tumours, nerve injuries etc; just to name a few.