It looks to me that you are suffering from knee ligament injury
. I would recommend you to get MRI
of knee joint to confirm the diagnosis. It will show us if there is internal damage to knee joint. You need to show to orthopedics surgeon after this. Till that time you can apply diclofenec ointment. Also apply compression bandage at knee joint so walking should not cause any more damage.