You could try deleting all messages if the phone is still responsive, but it seems something is severely broken. Backup what you can and reflash