If this happens a lot, it means that your database server is either ready to fall over, or it's underpowered and can't handle the load that it's under, leaving it crashing with broken tables.
To "fix" this, you need your server upgraded to make sure that it doesn't fall over. As for the database tables, get a godo backup as soon as you can, because you might need it very soon!