Need help with certbot

Well now it doesn’t let me ssh into the server… it says ssh:connect to host port 22: network is unreachable but when I try on my windows it works

Are you connecting via the IP or the name?
The name would point to Cloudflare...

Also, certbot and certificates are generally unrelated to SSH [TCP port 22].
That sounds like a firewall access rule problem.