Hi
Agree with above points preparing for surgery.
My surgeon (who was a very fit person) gave me a routine which included aerobic fitness, core strengthening and pelvic floor exercises. He stressed I was not competing in the olympics so do it in moderation. He joked he didn’t want me having a heart attack before surgery.
I had a passion for Maryland biscuits - he suggested for the 8 weeks leading to surgery reduce or eliminate alcohol and reduce sugar to reduce weight. I think this significantly improved my recovery and help me mentally to prepare for surgery.