TL;DR: Keep core, themes and plugins updated, enforce strong passwords with two-factor authentication, limit login attempts, remove unused code, force HTTPS, and maintain tested off-site backups.
WordPress security is mostly hygiene rather than exotic tooling, and the order below reflects actual impact.
Step 1 Fix authentication first
Most compromises begin with a weak or reused password. Enforce long unique passwords for privileged accounts, enable two-factor authentication, and remove the default admin username if it exists.
Step 2 Blunt brute-force attempts
Limit login attempts and consider restricting the login page by IP if your team has fixed addresses. This removes the majority of automated noise.
Step 3 Establish a strict update routine
Outdated plugins and themes are the largest attack surface. Enable automatic minor core updates, review major updates promptly, and check plugins weekly. Remove anything inactive, because dormant code is still executable code on your server.
Step 4 Never use nulled extensions
Pirated premium plugins and themes routinely carry injected backdoors. There is no safe version of this practice. Use a reputable free alternative from the official repository instead.
Step 5 Force HTTPS and fix mixed content
Confirm the certificate is valid, force HTTPS, and crawl for insecure asset references. One hardcoded HTTP image URL can undermine trust across the whole site.
Step 6 Harden configuration
Disable dashboard file editing so a compromised admin account cannot write PHP directly. Disable XML-RPC if you do not use remote publishing, since it is a common brute-force vector. Set correct file permissions and give the database user only necessary privileges.
Step 7 Add monitoring, not just a firewall
Install a reputable security plugin for file-integrity monitoring and malware scanning, and ensure alerts reach an inbox someone reads. A firewall alone does not tell you when something already changed.
Step 8 Prove your backups work
Automate daily off-site backups of files and database, retain several generations, and perform a real test restore. Document the steps so someone other than you could execute them under pressure.