From history it seems that you might having fracture
giving rise this problem.
As you had h/o injury
on the part or fracture in the past might give fracture on same point.
Go for x-ray of ankle joint and rule out fracture.
consult orthopedic surgeon and get examined.
Meanwhile avoid walking with this leg.
Ok and take care.