First is to hope Anton Chigurh is not looking for it.
Depending on how much it is, say $2 million1, the best thing to do is to start a cash-only business with a storefront. Make sure you install no surveillance cameras, etc., and arenโt in easy view of anyone elseโs.
Run that for a couple of years and gradually feed money into the business. Youโll lose about $150,000 of it to rent, inventory, etc. And another $500,000 or so to taxes, depending on where you live. But at the end youโll have ~$1.2 million thatโs now clean and on which taxes are paid.
Thatโs the safest but slowest way to do it. Other ways are faster but you might lose more. Or get busted.