You might be mistaking a patella dislocation with knee dislocation as knee dislocation can be really difficult to reduce by self.
Next Steps
Get x-rays done, knee immobiliser to be worn for 4-6 weeks.
Keep knee elevated and apply ice packs.
Crepe bandage will help.
Health Tips
MRI to rule out ligamentous issues.