thanks for posting your query
You had injury over your leg just above the ankle a week ago.
It seems most likely soft tissue injury
. But if swelling and tenderness present it might be a fracture
You need a x ray
to rule out fracture.
So you have to visit an orthopaedic surgeon
for examination & treatment plan acc. to that.