If young people and students have bad spirits, they need to consider whether they have bad spirits caused by excessive pressure from study or work, or overstress, overexcitement, overwork, staying up late, etc. It is recommended that such people ensure sufficient sleep and rest time, relax, avoid violent mood swings, and need to exercise properly in their daily lives to enhance their physical fitness. If middle-aged and elderly people with basic diseases suddenly have symptoms of poor mental health, they need to be alert to the discomfort caused by physical diseases, especially if elderly patients older than 80 years old have symptoms of poor mental health, they need to consider the possibility of lung infection, because these people often do not have symptoms of fever, cough, coughing phlegm, but simply have poor mental health and do not want to eat. Therefore, the middle-aged and elderly population needs to go to the hospital as soon as possible to improve the examination in order to clarify the cause of the disease once they have bad spirits.