I have a knee problem and what I do every day is sit on a chair for about 20 minutes and raise up my leg and bend my knee and I do 10 sets rest and then continue. Before bed I massage my knee.
I went to physical therapy when I hurt my knee. They had me use light weights around my ankles. Utube has a number of different exercises you can do at home.