Some ppl on this forum recommend turning this into a game. This is wrong! This kind of behaviour should not be rewarded. Make sure the dog is well exercised before the stressful time comes. At the onset of behaviour reply sternly and withhold attention for few minutes to demonstrate that this behaviour is unacceptable. Puppies do go a bit crazy sometimes but it's never too early to start teaching good habits.