You'd generally remove them by resolving the issues that trigger them. You need to update the outdated templates and review the server error logs. If any require action or you're not sure about, you can ask about them. After that, you can clear the server error log.