Answer:
A couple examples of preventing a war in the cold war was nuclear treatys limiting nukes like the Intermediate-Range Nuclear Forces Treaty
Signed on 8th Dec 1987 In the Whitehouse other ways are diplomatic discussions and proxy wars so like in Vietnam USSR supported and aided the communist revolution without directly declaring war on the USA