Place it at the very end of a defeat scene, after the action has finished, then follow it with the Re:Zero Return By Death cue to restart the moment, or the Womp Womp Fail cue if the joke is that the loss was deserved.