Rectal cancer surgery will damage pelvic tissues, especially blood vessels and nerves, which will affect sexual function; it can be recovered by strengthening sports, warm water sitz bath and medication. 1. Strengthening sports: appropriate strengthening of sports can improve blood circulation of perineum, and it is suggested that rehabilitation training can be carried out three months after rectal cancer surgery. 2. Warm water sitz bath: it is recommended to use warm water sitz bath every night, which can promote blood circulation in perineum and can nourish the development of nerves. 3. Medication: Oral vitamin B, methylcobalamin, etc. can promote the recovery of nerves, in addition, sildenafil, etc. can be taken according to the doctor’s instruction, which has a certain effect on the improvement of sexual function. After rectal cancer surgery, it is recommended to go to the hospital regularly for rechecking to monitor the changes of the condition, and inform the doctor of any abnormalities and do the postoperative conditioning measures well.