Medical psychology refers to the mind as the heart and the physiology as the body, together called the mind and body. Human is the organic unity of mind and body, and human health includes mental health and physical health, among which mental health is more important. Human diseases are also divided into psychological and physical diseases, among which psychological diseases are more common and more painful. Emotion is an attitude, a reflection of whether one’s psychological needs are met, and emotion is the external expression of one’s inner feelings. Joy, anger and sadness are subjective reflections of various stimuli in the surrounding environment, which can cause a series of complex physiological changes in heart rate, blood pressure, respiration, body temperature, metabolism, etc. These changes can have an important impact on the human body. All physiological processes of the human body are regulated and influenced by mental activity, and this regulation and influence is not transferred by the will of the person. Positive good psychological state on the physiological process of benign regulation and influence, so as to maintain normal life activities. Negative bad psychological state produces bad regulation and influence on the physiological process, such as indignation, frightening bad emotion can make the heart beat faster, blood pressure increase, arrhythmia, etc.; sadness, sorrowful psychological state can lead to poor digestion, immune function decline, various organs and systems dysfunction. Psychological factors, emotions and moods also have an important impact on the erection of the penis. The physiological dysfunction and disorder caused by negative and bad psychological state, the information transmitted to the cerebral cortex is also negative and bad, it will intensify the negative and bad psychological state, forming a vicious circle, leading to the occurrence of diseases. There are many examples of psychological factors causing diseases in real life, such as the German raid on the Soviet Union during the Second World War and the siege of Leningrad, which made the locals worried, anxious and panicked, resulting in a large number of hypertensive patients in just ten days. These patients were not caused by traditional pathogenic factors (high blood fat, excessive salt, etc.), but by the high level of mental tension caused by the horrors of war, which shows how strong and serious the effect of mental effects on a person is. The bad psychological state leads to the dysfunction of the higher nerve activity, which in turn causes the occurrence of various diseases and the impact on the erectile function of the penis, the lighter the erection is not firm, the heavier can completely lose erectile function. Human sexual behavior and sexual function is a combination of behavioral, erotic, psychological, environmental and other factors. Human sexual function and sexual behavior of this series of complex physiological activities need to rely on mental, neurological, endocrine, blood circulation system, genitourinary system and other intact functions to complete and maintain, this normal process can be affected by disease, physical, environmental, spiritual and other factors, these effects can cause a temporary decline or loss of sexual function, but also can cause long-term sexual insufficiency. Such as: excessive fatigue of the body or injury, disease caused by pain, mental tension, extreme sadness, excessive smoking and alcohol, taking certain drugs can temporarily affect the normal process of sexual function. However, once these influencing factors are lifted, the sexual function will naturally return to normal.