COVID affects everything—even your sex life

I had a nasty case of COVID-19 several months ago. It's taken a while, but I'm fully recovered—except for one thing: I've been having trouble getting and keeping an erection. I know that most men have erection troubles at some point, but I never have before and I'm wondering whether there could be any connection between COVID and sexual difficulties.