Before riding again, make sure that you can walk and run a bit. Maybe two or three weeks before rifing again, start walking progressively and then running again to gain back some muscle.
When you'll be riding, don't put too muche weight on your ankle during the first sessions. Don't forget to do some warm up exercises before and some stretching after.
Be patient and do it step by step, it would be so bad to harm your ankle again.
Good luck with the recovery :)