Public health emergencies have the characteristics of unpredictability, extensive influence and complexity of prevention and control. Community prevention and control is an important grassroots network in the public health system. When dealing with public health emergencies, family physicians should continue to be the gatekeeper of residents' health, providing high-quality, comprehensive, continuous and individualized health care and health education services for contracted residents. Against the problems such as adjustment of medical facilities, inconvenience for patients with chronic diseases in seeking medical care special psychological problems and lifestyle changes during the epidemic period, family physicians should give full play to the advantages of contracted services of family physicians, strengthen consultation and guidance to patients, find patients health problems in time and solve them as far as possible and provide appropriate medical services. In addition, it is also necessary to be a gatekeeper for the prevention and control of public health emergencies, detective early and report early and undertake the tasks related to prevention and control, such as investigation and health guidance for key groups, standardized management of people who are quarantined or under observation, promotion of scientific protection knowledge, discovery and coordination of risk points in the community, etc. Public health emergencies will lead to some changes in family physicians' protective behaviors and medical behaviors, such as increasing of self-protection behaviors, increasing of referral patients, improving the speed of consultation, measuring body temperature and more application of information technology. At the same time, family physicians also have some problems in dealing with public health emergencies, such as lack of awareness of prevention, isolation from disease prevention and control departments and lack of initiative and standardization. To further improve and support the ability of family physicians to cope with public health emergencies, it is necessary to take the government as the main body, fully mobilize and play the collaborative role of social forces to build a grassroots governance community for community epidemic prevention and control, build the strong relationship between primary health care services and public health services, carry out targeted continuing education and establish information network, etc.