Place it at the reveal point of the edit, right when the trick succeeds on screen. Pair it before a police siren for a caught-in-the-act ending, or follow it with a sad trombone when the plan backfires and everyone reacts.