To avoid DDoS on your WordPress website, you can install a security plugin called "Wordfence" that actively protects your website from all kinds of security issues.