It is a good idea bring the hutch inside, if you can. Choose a quiet room or alternatively an unused garage or shed. If this is not possible you can partly cover hutches with blankets to provide some soundproofing and to block out the flashes of light.
You can try to soundproof your house by closing windows and drawing curtains. Playing relaxing music or watching TV can also help to muffle the loud bangs
To help your rabbits or guinea pigs feel comfortable provide an extra safe and easily accessible place available in their hutch or cage to hide inside. This could be a cardboard box with holes cut in and plenty of bedding to borrow in.