If it's weather like we've had, scorching, and you can get it out into free flowing air, just as soon as it's wilted.
If it's damp and muggy, you'll just get mould if it can't dry out fast.
It's better than onioins that way though, the rot doesn't seem to travel down the layers into the bulbs I found, but they still don't keep well, and are gone to puffs before Winter is over.
What kind did you grow ?
cheers,
Mary