Depends on how bad you got it and and how quickly you are put on antibiotics to stop the damage to the villi in your bronchial tubes.
I had it a few years back in the middle of bloody summer and I was coughing really badly for a month and did no riding for 5 weeks, but then got back into it but took it easy.
It lurked around for another month or so.
My wife and daughter both got it and the 24 yr old daughter got a mild dose thanks to an earlier vaccination, and my wife got picked up with it very quickly, so was on antibiotics which stopped the damage early.
I’d recommend everyone get vaccinated against this as the vaccination you have as a child only lasts for 15 yrs and it seems there are lots of folk in the community happy to think they have a mild cough but are actually spreading a potentially lethal diesese in the case of young kids