Put it at the end of a failed attempt, just after the action that goes wrong and before the next scene starts. Follow it with No God Please No Sound for a bigger reaction, or cut to Nope Meme Sound when the character walks away instead.