So sorry to hear this. I hope you're back to pedaling soon.
Regardless of the procedure, allow yourself time to really recover and heal before you get going full bore again. What they say about old people not being able to recover as quickly as young folks is, sadly, true.
Unless you're a freak of nature -- in which case ignore previous advice and carry on.
Best wishes for a speedy recovery.