You need to see your doctor to rule out a ligament injury, mensical tear or even a patellar fracture. This
could be fluid collection or blood collection at the site of injury / strain. Till then it would help to try
some cold compresses, rest. Avoid lifting heavy weights and kneeling. You need to get an xray done. Regards.