One, if you have a backup of the index page, upload it and remove the hacked page.
Two, change at once your cpanel login username and password to something completely off the wall.
No words, no string of numbers.
Three, if you have databases, do the same to protect those.