What you have to do is to connect to your database (either via terminal, or - if your provider offers you this solution, via the web mySQL Admin).
Now have a look at the wp_options table. if you do a select * you will recognize, that the entry with the option_id=1 has the name site_url. And the option_value is the wrong URL. Simply change this entry back to the write URL using UPDATE TABLE.....