The first one puts the patch in full, installs antivirus software, IPS, WAF, and other security devices with event libraries upgraded to the latest version, but this method is to fight against the known ransomware virus.
The second is that you can install software, such as LMDS Last Meter Data Security, MCK Cloud Private Key, CBS Cyberspace, specializing in the fight against unknown viruses, for the terminal equipment, the server communication pipeline, the business server platforms each add a lock to increase resistance to invasion risk.