1. Keep them at home.
Pets are going to be safest at home because this is their environment. The combination of large crowds and loud noises may make them overwhelmed. Also make sure you keep them inside during fireworks. Loud noises may cause them to panic and run away or even jump fences to get to safety.
2. Provide a Safe Spot
Does your pet have a safe place they love to go when they are scared? Make sure you have some type of den set up for them so they can hide inside of it. If this creates more anxiety, maybe have them go under the sheets or another area which is their preference. Crates are best if they are used to them. You might think about covering the crate, closing the windows and curtains to keep their stimulation low.
3. Proper Identification
Make sure your pet has proper identification in case they get loose or lost. You might even think about getting them microchipped in case their collar comes off. If your pet does get lost, make sure you have recent pictures so you are able to make signs to display in the area.
4. Keep them away from the fireworks and lighting instruments
If your pet ingests lighter fluid or matches, it could cause them to have difficulties breathing or health related issues. Lighter fluid like us can cause skin irritation and if ingested can cause damage to their internal organs.
5. Emergency numbers on hand
Make sure you have your vets, emergency vets, or emergency animal hospital number and address on hand in case your pet has a medical emergency. I would also look up your area's pet poison control center or helpline. There may be fees applied to using these services.