What happened to the sudden inability to get an erection?

If you can’t get an erection all of a sudden, it is recommended to go to the hospital for relevant examinations to clarify the specific causes and deal with them symptomatically, as follows: 1. If the psychological factors cause an erection, if you are suddenly frightened during sexual intercourse or suffer from fear that causes erectile dysfunction, it is recommended to carry out psychological treatment, which requires psychological guidance by a psychologist, and both husband and wife participate together to build erectile confidence and complete a good 2, if the endocrine factors cause sudden failure to erect or organic factors cause failure to erect, such as penile fracture during sexual intercourse or after trauma failure to erect, or there has been transurethral surgery such as prostate electrosurgery, pelvic surgery, etc. cause failure to erect, mostly related to endocrine or neurological factors. You can try oral sildenafil for treatment, half an hour before sexual intercourse, and observe whether erectile function is restored after taking it, or you can use hormone replacement drugs, giving testosterone preparations to enhance hormone secretion, and observe whether erection can be restored.