Again, You can use Cloudflare to block robots - You can block them by blocking their user-agent.
You can also block them in your webserver configuration, by blocking their user-agent, but depends on your site/hosting configuration.
In my opinion is always better to block what you want before it...