I think it can be chondromalacia patallae. I would suggest you to get MRI
of the knee to confirm the diagnosis. If there is any softening of patella
as i am thinking then treatment will be following.
1. Dicerin tablet 50mg daily
2. static quadriceps exercise
3. avoid staircase and squatting and cross leg sitting.