What to do the moment the letter arrives
The first thing to establish is what kind of letter you have. HMRC compliance checks range from a simple request for a few figures to a full enquiry into a Self Assessment or Corporation Tax return. The letter should say which tax is involved, which year or accounting period is under review, and what HMRC wants from you. Read it twice before doing anything else, and check the name and phone number of the caseworker so you know who you're dealing with.
Next, look for a deadline. Compliance check letters usually give you a specific date to respond by, and information notices issued under Schedule 36 Finance Act 2008 will typically ask for records within a set period. Missing that date without explanation can escalate matters unnecessarily, so mark it clearly and start working backwards from it.
It's also worth checking the letter is genuine before you send anything sensitive. HMRC does not ask for bank details or payment by unusual methods in a first compliance letter, and genuine letters reference a real return or period you've filed.

