Welcome to HCM.
Since the pain has persisted for nearly one year, you will need to consult an orthopedic surgeon and get a detailed examination done.
The pain could be due to osteoarthritis
, menisci tear, sinovitis etc.
Please do not ignore the pain. Knee joints are very important weight bearing joints and if neglected could cause severe damage.
Wish you all the best.