How did the buildup of nuclear weapons discourage their actual use?

How did the buildup of nuclear weapons discourage their actual use?