If a man’s erectile function is reduced and he is unable to maintain sexual intercourse effectively, he may be diagnosed with erectile dysfunction. He should not blindly pursue getting firmer and firmer, but should seek medical treatment as early as possible, and follow the doctor’s instructions to improve his erectile function through basic treatment, medication and physical therapy. 1. Improve lifestyle: For example, quitting smoking and drinking, moderate aerobic exercise, eating more food rich in high quality protein, controlling body weight and living a regular life are not only beneficial to erectile function, but also to overall health. 2.Medication: (1) Phosphodiesterase 5 inhibitors: this class of drugs is currently the first choice for clinical treatment of erectile dysfunction, commonly used drugs are sildenafil, avanafil and so on. (2) Androgens: Some men suffer from erectile dysfunction, which may be caused by low androgen levels. In this case, hormone replacement therapy is the main treatment. Commonly used androgens mainly include testosterone undecanoate gel pills and so on. (3) Intracavernous penile injection therapy: For patients who are ineffective in taking oral medications, doctors may suggest using intracavernous penile injection therapy, and the commonly used medications now include prostaglandin, phentolamine, and so on. 3. Physical therapy: including vacuum negative pressure suction device, low-energy shockwave therapy, and so on. It is recommended to adopt a good lifestyle and diet, if there are adverse symptoms of erectile dysfunction, it is recommended to seek medical treatment as soon as possible, and medications should be applied under the guidance of a doctor.