He further recommends that pet owners shut the blinds or close the curtains, and turn the TV or music volume up.

“We find people who do that don’t have any trouble,” he said.

But if those measures have not worked in the past, Delucchi urges pet owners to speak with a veterinarian for other steps that can be taken to help the animal.

Delucchi advises those who leave their pets outside to shore up fence boards for sturdiness.

“Take a walk around to make sure the boards are secure,” Delucchi said. “Take a look at that before the Fourth of July.”

He said Independence Day is usually the busiest time of year for the Humane Society, but that the number of pets lost on the holiday has dropped significantly over the past 15 years because people are taking more precautions.

San Francisco Animal Care and Control is reminding owners to make sure their pets’ identification tags are visible at all times, and to have a veterinarian implant a microchip in addition to the tags.