How to prevent Chinese hackers?

I have been struggling with users from China signing up on my site. My host provider gave me this website to get the code to block all of their IP addresses but I don’t know where to put the code.

Can you please tell me where to put this code to best protect my site? Thanks.