Welcome to Healthcare Magic
You could have sustained a ligament of meniscal injury
. I suggest you don;t walk on that leg. Take help of someone or use a crutch
. You should be taken to the Orthopaedician and get examined and an X-ray/MRI
. Take a pain killer for now. Apply a pain killing gel on the site gently. Drink plenty of water.