Another method of helping your dog overcome his fear is to slowly and gradually accustom him to the noises that frighten him. This can be done by making a recording of the sounds and playing it back to the dog while he is enjoying everyday life and activities.
First, never reprimand or punish the dog for being afraid. He will only become more frightened. Secondly, never verbally or physically try to reassure or comfort the dog when he is acting fearful. If you stroke, cradle or hug your dog while saying things like, 'Oh poor baby, it's OK, there's nothing to be afraid of,' the dog doesn't understand your words, but he does understand that he is receiving a gentle, soothing reward by your actions and tone of voice. The dog usually concludes it is doing the right thing by acting nervous because you are so approving of it.
before the fireworks start, wear your dog out. extra long walk, extra time in the sun - swimming if you can do that with your dog. wear the dog out completely and totally and that should help a great deal.
Many dogs will hide in a closet or under the bed, this works well as long as there is nothing harmful in the area or nothing the dog might destroy
A tight fitting t-shirt is supposed to help. I don't know how it helps but many people swear by it.