Countries respond to epidemics by implementing public health measures such as quarantine, vaccination campaigns, and travel restrictions. They also utilize public health communications to inform and educate the public about the risks and prevention methods. International collaboration and information sharing are essential, especially in the case of highly contagious diseases.