Step 1: How does Cloudflare work
Cloudflare protects and accelerates any website online. Once your website is a part of the Cloudflare community, its web traffic is routed through our intelligent global network. We automatically optimize the delivery of your web pages so your visitors get the fastest page load times and best performance. We also block threats and limit abusive bots and crawlers from wasting your bandwidth and server resources. The result: CloudFlare-powered websites see a significant improvement in performance and a decrease in spam and other attacks.
Step 3: Change your domain name servers to Cloudflare
When you create your CloudFlare account or add an additional website, you are provided the Cloudflare name servers for your domain. The final step is to update the name servers for your domain with the Cloudflare name-servers assigned to your domain. You can follow this tutorial to change DNS.