There are plenty of solutions for blocking an IP address from accessing your website.

How to block IP addresses from your site: