Don't read/write/execute anything in memory, and make sure your not injected in any of the processes on your computer. Then no anti cheat should be able to detect you.
Trolling aside, what kind of thread is this? You ask how to avoid getting caught? From what anti-cheat? From what game? Have you put any effort in this thread? NO, you didn't. So why should anyone here help you?
What happened: I was playing Age of Empires online when all of the sudden i thought to meself it'd be a great idea to try and use cheat engine, on opening it and clicking to be used for the game, Punkbuster, or so i think stopped it and i was banned by Voobly the thing i was playing on.