Welcome to HCM
it appears that you had a ligament injury
you need physiotherapy
to get you flexibility back.
you may need an mri
if there is excess limitation of movement
you can do the following exercise,move the foot up and down ,then side to side then you can do rotation of ankle,continue for 10-15 minutes