Thanks for writing your query.
Did you had any history of injury
on your knee or legs?
You should get yourself investigated for:-
1. Serum Uric Acid
2. Serum Calcium
5. RA Factor
6. X-Ray Knee (AP and Lateral view)
Get yourself examined by an Orthopedic Surgeon.
I hope this is helpful to you.