Do you have anything important? If so, back it up by downloading the files. Get the latest version of wordpress in a ZIP file, and then extract the files. Delete the current wordpress installation, and then upload the new files. Remember to visit install.php
Please note that you DO NOT need to delete the entire installation. You can fix an existing installation without losing all your data. Just follow the instructions from this article and you can safely fix your website without losing data: