This question is answered in depth in our main guide.
Full answer here: our complete guide to IRS criminal investigations covers how cases start, what special agents can do, the timeline, and how these matters actually resolve.
If this is live for you right now, our criminal tax attorney page explains what to do in the next 48 hours.