Well, I wouldn't start with firecrackers! I'd have someone bang on a table or trashcan lid, something like that while you give him treats or a play with his favorite toy to distract him while the noise is going on. Their hearing is so acute that something like that is sufficient to train him. Is he afraid of thunder? That's usually a pretty good clue of how he'll handle a gunshot.