Difficulty in erection and weak hardness, i.e. erectile dysfunction, can usually be treated by changing life habits, medication and surgery. 1. Changing lifestyle habits: Erectile difficulty and lack of hardness are usually caused by overwork, hypogonadism, poor dietary habits, and insufficient blood engorgement of the penile corpus cavernosum. Usually, you should exercise properly, less smoking and drinking, keep a light diet and avoid staying up late, which can effectively improve the erection difficulty and weak hardness. 2. Medication: If the change of life habits can not improve the erection difficulty and weak hardness, you can go to the hospital for examination, and use sildenafil citrate tablets, vardenafil hydrochloride tablets and other drugs under the guidance of the doctor for treatment. 3. Surgery: If the effect of drug treatment is poor, you can go to the hospital to do penile prosthesis implantation, vascular surgery and other ways of treatment, the specific surgical methods need to be based on their own situation, under the guidance of the doctor to judge. Patients with erectile dysfunction, should seek timely medical diagnosis, so as not to delay the condition. Normally, we should maintain good living habits, and strive for early recovery.