Erectile function is related to somatic diseases, psychological factors, and lifestyle, therefore, improving erectile ability should improve the above factors, while medication and other means can be used. Erectile dysfunction is related to somatic diseases such as cardiovascular disease, hypertension, diabetes, as well as psychosomatic factors, drugs, and poor lifestyle. Therefore, to improve erectile ability on the one hand, it is necessary to correct the above factors causing erectile dysfunction, including active treatment of physical diseases, quit smoking, limit alcohol, do not overwork, and adjust the drugs affecting erectile function when the condition permits. In addition, psychotherapy or couple behavioral therapy can also be used to correct related psychological behavioral misconceptions. In terms of medication, sildenafil, tadalafil, phentolamine and other drugs can be taken as needed under the guidance of a doctor, and prostaglandin E1 can also be used locally to promote penile erection. If none of the above methods achieve the effect, surgical treatment, such as penile prosthesis implantation, can also be performed.