If your website has been hacked, you should change the administrator password for the application of your Web site (or CMS: Content Management System).

The procedure to follow depends on your application, your situation and your level of knowledge of the various Web tools. A common way to change your administrator password (which applies to all CMS) is to use phpMyAdmin (Web and Classic / cPanel / Plesk).

WordPress® Reset your password
Joomla! ?? How to recover or reset your admin password?
Drupal ?? Recovering the Administrator Password