Short erection time is considered as erectile dysfunction, which can be improved by correcting the relevant factors leading to erectile dysfunction, taking medications, local injections and surgical treatments. 1. Correcting the factors leading to erectile dysfunction: such as changing bad lifestyle, stopping the use of drugs leading to erectile dysfunction, and supplementing androgen for those with androgen deficiency. 2. Taking medication: Sildenafil is a commonly used medication that can dilate blood vessels and increase blood supply to the penis, which can help penile erection. 3. Local injection: injection of prostaglandin E1 into the cavernous body of the penis can also improve the situation. Prostaglandin E1 is a kind of vasoactive drug, which can dilate the blood vessels and increase the blood supply to the penis, thus making the penis erect. 4. Surgical treatment: including vascular surgery and penile prosthesis implantation, suitable for patients who have not been treated by other methods. Patients who have erections for a short time should go to the hospital in time, clarify the cause of the disease in time, treat under the guidance of the doctor, and avoid unauthorized use of medication.