Akismet is one of the most popular plugins, available in WordPress, for protecting you against spam bots. And WordPress developers have included it in WordPress by default.
To activate the plugin you need to log into your WordPress Admin panel -> Plugins -> Installed Plugins.
After that click the Activate button under the plugin and you will see a big blue button to complete the activation. When you click it, it will take you to the Akismet website to sign up for an account with them. You can open a personal account for free and you have the option, as well, to donate in appreciation for their hard work .
Once you have completed the registration on their website, you will be provided with an API Key. And you need to return to your WordPress Plugin page and under the Akismet plugin click the Settings -> Select I already have a key -> Paste your API key and you are done.