If that’s the case it’s best if you re-install. Delete the files on your /public_html including your .htaccess then re-upload the wordpress files and folders again.
You need not delete your SQL database.
After all the files and folders have been uploaded, you will have to edit your wp-config.php file accordingly as per your previous SQL Database name, username and password. Hope it works!