What you can do for your dog:
Walk your dog during daylight hours to avoid times when fireworks are likely to be set off.
Move your dog to the safe haven each evening before the fireworks begin, and provide toys and other things that they enjoy. Make sure there are things for you to do too, so your dog isn't left alone.
Close windows and curtains to muffle the sound of fireworks and blackout your doggy safe haven so they can't see any flashes outside.
Put on some music or TV to mask the firework sounds.
Ignore the firework noises yourself. Play with a toy to see if your dog wants to join in, but don't force them to play.
What you can do for your cat:
Provide hiding places in your home, such as under some furniture or in a quiet corner.
Don't try and tempt your cat out, as this will cause them to become more stressed.
Consider keeping them in - cats can become more stressed if they're outside during fireworks.