If an attack is detected, follow your organization's incident response plan, which typically includes isolating affected systems, assessing the damage, and notifying relevant stakeholders. Use the ransomware protection software to quarantine the threat and seek guidance from cybersecurity professionals if needed.