I’ve had 2 knee operations, knee feels like loose?

Ive had 2 knee operations, 1 was for my ligaments that tore when i was 12 ( i am not 34) and the 2nd one was about 2.5yrs ago. Ive had problems with my knee since then, the muscles around the knee is very weak and i am not able to gym 100%. Been doing exercises and swimming, so taking it easy. last knight i tried doing walking lunges and my knee made a funny sound. if i walk now it make like clicking noise and if i put my hand on my knee and bend it, it feels like things are loose inside. i know it sounds weird. my knee is a little swollen today and sore. can still walk its just sore. should i be worried?