Thanks for posting your query
You had injury over your leg and after that it is swollen & tender to touch.
It might be a soft tissue injury
or a fracture
So you first need a x-ray to rule out any fracture.
You have to visit an orthopaedic surgeon
for clinical exam. & treatment plan acc. to that.