A hard penis that gets soft quickly belongs to erectile dysfunction. Androgen insufficiency leads to the need for testosterone supplementation; inflammation of the reproductive system causes the need for timely anti-infection treatment; penile arteriovenous fistula causes the need for surgical treatment. 1. Supplementation of androgen: Insufficient secretion of androgen will lead to erectile dysfunction and decreased sexual desire, and these patients need timely supplementation of androgen, such as testosterone undecanoate. 2. Use of antibiotics: inflammation of the seminal vesicles, prostatitis can lead to erectile dysfunction, these patients need to use antibiotic treatment, such as levofloxacin, azithromycin, cephradine and so on. 3. Surgery: Penile arteriovenous fistula is also a common cause of erectile dysfunction, and these patients need surgery to block the arteriovenous fistula. Overall, there are many causes of erectile dysfunction, you need to go to a regular public hospital to check the cause of the disease for targeted treatment. Drugs should be applied under the guidance of a doctor.