I'm assuming you mean a torsion spring because a tension spring is pretty easy....
(Both should be done with the door in the open position).
What I do is to find two round, stong bars about 18" long that fit into the holes of the torsion spring wheel. When I say "fit", I mean fit --- resonably tight, and "strong" meaning best would be some high carbon barstock, not just two pieces of 1/4" reddi rod you find laying around the shop. Make sure they can be inserted into the holes easily and securely. Then remember tofollow the "wingwalking rule" -- never let go of what you have until you firmly have another hold. Using a bar, increase the tension ever so slightly so you can pull the stay pin out and then slowly start releasing the tension by letting it unwind -- a lot of people let it rest on their shoulder while they put the next bar in. Then lift up slightly to pull the first bar out and so on...
The key to staying safe is to use good bars and do it slowly to be sure the bar is secure in the hole.