Impotence is erectile dysfunction, the treatment mainly includes correcting its related factors as well as direct treatment, and there is no evidence to prove that melatonin can treat it. 1. Correcting the factors that cause erectile dysfunction: changing the bad lifestyle, adjusting the psychosocial factors; changing the drugs that cause erectile dysfunction; treating the organic diseases that cause the disease, such as androgen deficiency can be supplemented with androgens. 2. Direct treatment for erectile dysfunction: taking drugs such as sildenafil, etc.; injecting vasoactive substances such as prostaglandins; urethral administration of ointment Bifal, etc.; when other methods are ineffective, surgical treatment can be used, such as penile prosthesis implantation. All of the above medications should be applied under doctor’s supervision. When erectile dysfunction occurs should promptly go to the hospital to seek professional medical help, active treatment, not to follow the prescription without scientific basis.