The best way to regain erectile function is to strengthen your pelvic floor. A strong pelvic floor helps to maintain rigidity during an erection, preventing blood from flowing out of your penis and pressing on a key vein. Kegel exercises, along with biofeedback, have been proven to improve sexual function and it can also happen …