Frequent urination at night, especially early on, is common.
I suspect your doc would say to try sex when you feel like it, especially if you are continent.
I had no prostate issues prior to being diagnosed with prostate cancer, but usually was up once a night to make my bladder gladder. I liked having the catheter bag because I never had to get up at night.
I was up a little more at night after the catheter removal, but it resolved quickly, as did the incontinence. ( I didn't make it thru an entire box of Costco incontinence underwear). If I cut back on liquids a few hours before sleep, I usually make it thru the night fine.
ED for most of us takes longer to resolve. I require penile injections because the oral meds didn't work. Nonetheless there have been improvements over time.