Put it at the end of a failed attempt, right after the mistake lands, so it acts as the verdict on the whole scene. Follow it with Sad Violin to stretch the moment into a joke, or place Wrong Answer Game Show just before it when the failure needs a setup first.