Step 2: Next step is setting up new systems, and start from scratch. Install the systems, start with basic system hardening and up-to-date software packages. Use https://github.com/CISOfy/lynis to validate your configuration.
Do not have any interaction or data exchange with the old (compromised) systems.
Step 3: Save all running systems to learn from the event. See if you can find the main cause why this happened.
Step 4: Learn about security, hire someone on your team with security knowledge.
Step 5: Do regular (technical) audits.