Place it after the misbehaviour is shown and before the reaction shot, then follow it with a shocked reaction to sell the scolding, and save a goofy yell for the final punchline when the lesson is ignored again.