Place it right after the mistake becomes clear, before any reaction from anyone else in the scene. Follow it with the sad violin sound button for a longer deflated ending, or precede it with a wrong answer game show hit when a guess goes badly wrong.