From the Japan Cultural Expo, the Tokyo Metropolitan Government and the National Archives of Japan.
When the age of fighting ended, Tokugawa Ieyasu set up a shogun’s government in Edo.
About 80% of the land taken from defeated enemies had to be given to daimyo (lords) as rewards. So the Tokugawa family could not rule too harshly, and the daimyo kept some self-rule in their domains through the Edo period.
The Edo period was a time of peace, with no major wars.
The shogunate made clear lines between warriors and farmers, and the samurai, who had been fighters, became government officials.
The eighth shogun, Tokugawa Yoshimune, was shogun for 29 years. He read many records himself and used what he learned in his policies.
People still suffered from harsh rule, famine and natural disasters. The shogunate tried reforms in the early 1800s, but they did not work.
Support grew for a new system centered on the Emperor. In 1867 the last shogun, Tokugawa Yoshinobu, gave the power to govern back to the Emperor.
There is no single right answer. Talking it over with someone at home is a good way to learn.