Depends on fracture
Some small avulsion fractures are treated like sprains and weight bearing can be allowed immediately.
More significant fractures not requiring surgery are often treated in a cast
with restricted weight bearing for anywhere between 4-8 weeks. Fractures requiring surgery typically are treated with restricted weight bearing for 8-12 weeks followed by transition to walking/weight bearing.