When you plan your lesson, keep your students engaged by displaying your planed activities , they will be able to know what to expect as the lesson goes on.
Knowing ahead of time what is your plan will help the students refocus their attention to the lesson.