How did major powers respond to totalitarian govermentslike germany to avoid war?

Major powers responded to totalitarian governments like Germany to avoid war by signing agreements such as the Munich Agreement.