How do you help your dogs with nightly fireworks?

How do you help your dogs with nightly fireworks?

“My neighbors that live two blocks away have been shooting off fireworks every night for almost a week and my dogs hate it. My beagle shivers and my pug hides under the dining room table. Should I confront them about the fireworks, or is there something else that I can try for our dogs.”