Hi, Thanks for query.
it seems that at the time of having accident you might not gone for the treatment.
At that time you might got fracture
of ankle bone and it remained un treated might have caused mal united fracture giving you this problem.
Now consult orthopedic surgeon and take his opinion and line of treatment.
Ok and bye.