Like a war or something? I can't think of a successful non-bad way for everyone to stop besides a treaty.
We've mostly been blindsided by covert nuclear programmes. As for weapons in space, they don't have any purpose. The moment they make sense we'll see weapons in space.