Cloudflare error

I am getting error 502, 504, 524 error with my website This error is happening every now and then. Please help me ASAP

Loaded OK for me, if a little slow. Slower than I would expect without Clioudflare.
An issue with Cloudflare is that all requests are fetched as HTTP, regardless of actual URL. That can lead to infinite loops if you use .htaccess HTTP to HTTPS redirection.