To effectively respond to cyberattacks, companies need to have a plan of action that includes quickly mobilizing the security team, identifying the type of attack, stopping the spread of the attack, and assessing the damage. After an attack, it is important to analyze what happened, make security improvements and develop measures to prevent future incidents.