A loud bang from the garage that sounds like a gunshot is usually a snapped torsion spring. Without that spring, your door instantly turns into dead weight and a major safety hazard.
We wrote a quick guide on what to do if this happens — check it out on our site.