Place it immediately after the boast or failed flex in your edit, then follow it with the shocked reaction to sell the surprise, and finish with the running gag or the laughing clip to keep the joke moving. That order gives the prank a clear setup, reaction and payoff without crowding the scene.