OK... you need to give your knee time to heal, that's a given...
But I have another suggestion that you could think over in the meantime...
Do you have a tight lower back, glutes and hip flexors? If so, all of this tightness will be paying out in the knee region.
Quite often, the fact that your midsection has limited flexibility, results in your knees taking unnecessary load.
If you ARE tight in these areas, I sincerely suggest you watch this following link through - a good few times - and during the time you allow yourself for your knee pain to go - work on this short 20 minute routine regularly.
https://www.youtube.com/watch?v=FSSDLDhbacc
It worked for me, I can now do legs twice a week pain free and my squat is deeper and cleaner than ever.
You can thank me later!