Impotence is also called erectile dysfunction. Erectile dysfunction caused by excessive masturbation can be treated by quitting bad hobbies, changing bad lifestyle and supplemented with medication. 1. Quit bad habits: You should correct the habit of masturbation in time, avoid excessive masturbation, and treat erectile dysfunction from the cause. If necessary, you can go to a psychiatrist to seek help to change the bad habit of masturbation. 2. Changing bad lifestyle: Quitting smoking, drinking alcohol in moderation, eating healthy and exercising moderately can improve the patient’s erectile dysfunction. 3. Medication: Sildenafil, tadalafil and other selective phosphodiesterase type 5 inhibitors are commonly used to enhance the effect of nitric oxide on smooth muscle and increase blood flow to the penis, thus promoting erection, and the medication should be applied under the guidance of a doctor. Common adverse reactions include facial flushing, nasal congestion, back pain, and myalgia. Due to the possibility of fatal hypotension, attention is paid to the prohibition of combining with nitrates. Therefore, erectile dysfunction caused by excessive masturbation should go to the hospital in a timely manner, under the guidance and advice of the doctor to carry out regular treatment.