Place it at the end of a failed attempt, after the loss is clear, then follow it with the Law and Order Dun Dun for a mock verdict, or the Windows XP Error Music for a system failure. Use the SpongeBob Sad Song afterwards only when the joke needs a final close.