When an outbreak is detected, government health departments take immediate action to control and contain it. This involves identifying the source of the outbreak, implementing quarantine and isolation measures if necessary, and providing accurate information to the public. Contact tracing is also a crucial element, where individuals who have been in contact with an infected person are identified and monitored. The aim is to interrupt the transmission chain and prevent further spread.