I transfer my domain register from hostinger to cloudflare, how I set up nameserver in cloudflare domainregister

A 522 error typically happens when Cloudflare requests to the origin (your webserver) get blocked. Review the suggestions in this Community Tip for troubleshooting ideas.