When a fifty-year-old man can’t get hard enough for sex, it is generally referred to as erectile dysfunction, and the patient needs to follow the doctor’s instructions for general measures, medication, physical therapy, surgical treatment, etc. The patient should also be aware of the fact that he can’t get hard enough for sex. 1. General measures: patients usually need to actively improve their lifestyles, develop good habits, quit smoking in a timely manner, appropriate physical exercise, to ensure a balanced diet. Patients also need to actively treat diabetes, depression, hyperlipidemia and other underlying diseases. At the same time, patients also need to psychological counseling and sexual life guidance under the guidance of the doctor, so as to promote the recovery of sexual function. 2. Medication: Usually, patients can follow the doctor’s instructions to use sildenafil, vardenafil and other type 5 phosphodiesterase inhibitors for treatment, and can also be used with androgens and other drugs for treatment. All the above drugs need to pay attention to the side effects and adverse reactions, please use the above drugs under the guidance of a doctor. 3. Physical therapy: some patients can also take vacuum erection device therapy under the guidance of the doctor, mainly using negative pressure to attract blood into the cavernous body of the penis for treatment. 4. Surgery: If medication and other treatments are ineffective, penile vascular surgery and penile prosthesis implantation can be performed as prescribed by the doctor. Surgery involves certain risks or may not be able to meet psychological expectations, and should be chosen carefully with full knowledge of the pros and cons of surgery. It is recommended that patients with erectile dysfunction take standardized treatment under the guidance of a doctor in a timely manner to avoid aggravation of the condition.