Erectile dysfunction may be due to psychological factors, low androgen levels, prostatitis, etc. There is no such thing as what medication works well, and testosterone preparations (testosterone undecanoate gel pills, etc.) and antibiotics (doxycycline, etc.) need to be given according to their causes. 1. Psychological factors: Erectile dysfunction caused by excessive psychological tension, anxiety, and marital discord can be restored in most cases through psychological counseling and stress relief, and generally does not require medication. 2. Low androgen levels: testosterone preparations, such as testosterone undecanoate and other medications can be given. 3. Prostatitis: antibiotics can be given, such as doxycycline, azithromycin and other anti-infective, after the inflammation subsides erectile function is likely to recover. Erectile dysfunction, it is recommended to consult a doctor in a timely manner to identify the cause of the disease, under the guidance of the physician treatment, do not self-medication.