Background: The global spread of the COVID-19 has brought great damage to the economic development, infrastructure and social development of various countries, and has also had a huge negative impact on people 's daily life, work and study, bringing a lot of inconvenience. In the fear and tension of the epidemic, the psychological state of college students is worrying and prone to anxiety. Anxiety will affect the secretion of body hormones and the normal operation of organ functions, damage the physical and mental health of patients, and even seriously damage the cerebral cortex of patients, resulting in cognitive impairment, cognitive disorders, emotional and mental disorders and other diseases with different symptom dimensions. Based on learning psychology, the study explored the psychological changes of students in their study and life, and puts forward the idea of educating students on the consciousness of the Chinese nation community, so as to strengthen students' beliefs, improve students' psychological cognition, and avoid students ' anxiety. Subjects and methods: Experiment design in a university. First, recruit volunteer students on the platform to cooperate with the experiment to complete the research. A total of 132 students were recruited. After screening, 80 students were left as experimental subjects. The two groups of the Institute are mainly composed of 80 students. They are respectively expressed as intervention and control groups, for subjects who were subject to research intervention, in addition to the normal courses, they also received the awareness education of the Chinese national community based on school psychology; For the control group, only normal courses were accepted. Under different education modes, after three months of college education, the degree of anxiety and learning outcomes of the subjects of the two teams were compared. Results: Students were investigated anonymously by using the self-made College Students' Anxiety survey scale (CSAQ). Students filled in all the options on the college students ' anxiety survey scale, collected them, and counted and analyzed the scores of the college students' anxiety survey scale. Under different education modes, after three months of college education, the average score of the people who were intervened by the study design was higher than that of those who were intervened by the common method the research group is much lower than that of the control group. Conclusions: Most contemporary college students' growth environment and learning environment are relatively smooth, and they rarely experience setbacks, so their psychological tolerance is generally poor. In the fear and tension of the epidemic situation, college students are easy to have anxiety. Under the guidance of learning psychology, the study puts forward the education of the consciousness of the Chinese nation community for students, so as to strengthen students' beliefs and relieve students' anxiety.