Place it right after the mishap is shown, once the problem is clear to viewers. Follow it with a short cheer for a triumphant fix, or precede it with a buzzer when the first attempt has already failed on screen.