Thanks for posting your query.
You might developed secondary osteoarthritis
of ankle. it is common after injury
to articular surface of joint.
Due to this muscles around the joint get weak due to disuse.
I advice you to do Physical therapy: stretching to increase flexibility, therapeutic exercise to build muscle strength and endurance; posture and importance of maintaining good posture (ergonomics) at rest, work, and during other activities.
Wishing you good health
Dr Saurabh Gupta