Lost website access minutes after switching to Cloudflare

You can give the following a try, but it shouldn’t be the cause of a 522:

https://support.cloudflare.com/hc/en-us/articles/200168856-Importing-and-exporting-DNS-records