Classroom management takes time and experience. There is nothing better than real life experience as a teacher. Two important ways to make sure you have a well managed classroom are building quality relationships and focusing your efforts on the learning.
US Digital Literacy: Classroom Management
Resource Link: http://digitalliteracy.us/classroom-management/