Phorum Database Error

Sorry, a Phorum database error occurred.
Please try again later!

Error:

Table './punkforum/phorum5_messages' is marked as crashed and should be repaired (145): SELECT thread FROM phorum5_messages WHERE forum_id = 1 AND parent_id = 0 AND status = 2 AND thread > 27137 ORDER BY thread ASC LIMIT 1

Backtrace:

Function phorum_database_error called at
{path to Phorum}/include/db/mysql/mysqli.php:212
----
Function phorum_db_interact called at
{path to Phorum}/include/db/mysql.php:1966
----
Function phorum_db_get_neighbour_thread called at
{path to Phorum}/read.php:99
----