This Is a Certified Answer

Certified answers contain reliable, trustworthy information vouched for by a hand-picked team of experts. Brainly has millions of high quality answers, all of them carefully moderated by our most trusted community members, but certified answers are the finest of the finest.
By controling it by a good leader
A society has personnel that are tasked to maintain peace and order. We have police, army, and in the case of the Philippines in the barangay level, we have barangay tanod.

Anyway, peaceful society will be obtained (ideally) through discipline and adherence to the laws and ordinances in the society.