You figure out
What is making the ankle bad.
Once you do that you can try and fix it, brace it etc. A simple injection may help, all depending what the problem is. So, see a doctor, get a diagnosis and they will help formulate a plan to get that bad ankle into a good ankle.