The medical term for not being able to get hard is erectile dysfunction. Factors that cause erectile dysfunction include age, vascular causes, psychological factors, and poor lifestyle. 1. Age: Epidemiologic data show that the prevalence of erectile dysfunction increases with age. 2. Vascular causes: such as atherosclerosis, arterial injury, arterial stenosis, penile arterial shunt and cardiac function abnormality can lead to erectile dysfunction. 3. Psychological factors: psychological disorders may lead to erectile dysfunction, and conversely, erectile dysfunction may lead to psychological disorders. These factors may develop from childhood, such as sexual abuse, negative attitudes toward adverse childhood encounters, and individual psychological factors, such as body image, depression, and performance anxiety. 4.Adverse lifestyle: (1) Smoking is an independent risk factor for vascular erectile dysfunction and may enhance the effects of other risk factors. (2) A large amount of alcohol can have a wide range of inhibitory effects on the central nervous system, including the erectile center, and alcohol can also lead to a decline in serum testosterone levels; alcohol can also make drinkers anxious and nervous, which can lead to erectile failure. (3) Being overweight can also cause or aggravate erectile dysfunction. It is recommended that patients go to the hospital in a timely manner and receive standardized treatment under the guidance of a doctor.