It can be a loose body or meniscus
tear. I would suggest you to get MRI
of the knee joint to confirm the diagnosis. If there is any loose body it can be removed using arthroscopy
. Also meniscus tear can be tackle with this. Do not delay the treatment as you might end with irreversible damage to knee.