In general, at your age, it takes around 6 weeks for a fracture to heal.
But the amount of time needed for you to start walking on that leg also depends on how many pieces your bone was broken into and what kind of metallic implant was inserted in your ankle during surgery.
Next Steps
Please send your pre-operative and post-operative Xrays for me to be able to guide you better.