I changed the wordpress URL and now it only gives error 500

Hi everyone, everything fine?

I have a big problem, I was in the Wordpress settings, in the general settings tab, there is an option to change the Wordpress URL and I made the mistake of changing it because I’m still learning, the moment I saved the change, it gave an error in all the website windows, now I can’t access it. What do I do?

If you changed the site URL to a wrong value, you will need to change it back. The documentation from WordPress describes a few methods to do that: