Put it right after the mistake is shown, as the reaction that closes the scene, then follow it with Sad Violin for mock sympathy or Oh My God Wow when the blunder is bigger than expected.