Kytes interview question

How we can troubleshoot any database error