The short answer
Choose a garage door company the same way you'd choose an electrician: check that they're licensed and insured, get a written estimate before any work starts, ask what the warranty actually covers, and pay attention to how they talk about your specific door on the phone. If a company can't answer basic questions about torsion springs, track alignment, or opener brands without transferring you three times, that's your answer before you've spent a dollar.
The rest of this is about catching the problems before they show up as a bent track, a double-billed invoice, or a spring installed under the wrong tension for your door's weight.