The best way to help a dog overcome their fear of fireworks is to desensitize them to the sound. This can be done by playing recordings of fireworks at a low volume and gradually increasing the volume over time. You can also reward your dog with treats and praise when they remain calm while the fireworks are playing. Additionally, it can help to provide a safe space for your dog, like a crate or den, where they can go to feel safe and secure during fireworks displays.