How to handle audits related to statutory compliance efficiently?

How can a company prepare for and manage legal/compliance audits smoothly without errors or stress?