You only have one way, trace the coins came from. But most people can't distinguish between the coins came from mixers and normal transaction, it need a good understanding and learning to know that. What can I say is most mixer are easier to know the pattern, while Chipmixer is harder.
Usually the risk of such dirty coins are came from directly P2P trading without any platform as the third party and mixers. Although not all dirty coins will transferred to mixers, but coins from mixers will flagged as high illicit funds.
As long as you're not doing directly P2P trading, I think you're almost prevent to receive dirty coins.