There are sedative drops for such cases. Thankfully my dog likes to stare at fireworks so I don't have to use them.
Counterpoint to your opinion - there should be no dogs barking all day 365 days a year and causing stress to people liking some silence.