I am trying to get bubbles use to sounds that may scare him later in life by using puppy desensitizing sounds from you tube.
As you can see after just a little while no notice is taken from the firework sounds.
Try the soundtrack out with your puppy
source
Puppy