The way to treat impotence is to correct the relevant factors that cause impotence, such as bad living habits and ways. Don't drink or stay up late for a long time. If you have hypertension, diabetes, heart disease, etc., you should actively treat the primary disease. Some drugs used for a long time may also lead to impotence. Stop using these drugs, and improve the bad cognition of sexual behavior through the gradual improvement of sexual skills and knowledge. You can use drugs to improve erection. The most common ones are sildenafil, tadalafil, and vardenafil. You can improve impotence by taking orally one hour before sexual intercourse and then having sexual intercourse. Prostaglandin E1 can also be injected into the cavernous body of the penis, which can quickly improve penis erection and treat impotence.