The main function of the United Nations is to preserve international peace and security. Chapter 6 of the Charter provides for the pacific settlement of disputes, through the intervention of the Security Council, by means such as negotiation, mediation, arbitration, and judicial decisions.
[I copied this from the internet, but hope it helps!]