If you haven't already installed Fail2Ban, do so using the package manager suitable for your server's operating system. For example, on Ubuntu/Debian, you can install it with:
sudo apt-get update
sudo apt-get install fail2ban