Replacing a garage door spring falls into two categories of hazard severity dependant upon whether the springs are extension springs or torsion springs.
When choosing a fresh spring, use the color-coded previous coil https://phoenixgaragedoorguru.com/garage-door-broken-spring-replacement-in-foothills-north-phoenix-az/