Hi. What kind of injury you had is very important. Was it a twisting injury or a direct impact? Did you have pain everyday for the last 1 year? Any other symptoms of instability or locking of knee. All these questions are unanswered. If you have localised knee pain and that too in front of knee especially when you are getting up after sitting for a long time may suggest you have chondromalacia.
Next Steps
Please consult an orthopaedic surgeon to see you clinically
Health Tips
Do your Quadriceps and hamstring strengthening exercises