Is it a good idea to replace all the coil springs if one is bad or just the one that is bad?

Replace them in pairs. If you replace one front, replace both. One rear, both.