The first action after confirming a cybersecurity attack is to isolate the affected system. This helps prevent the spread of the attack to other systems, containing the incident and minimizing further damage. Once the system is isolated, other actions such as severity assessment, root cause analysis, and addressing risk appetite can follow.