There are times when students get very distracted and they do not want to pay attention or learn something the teacher says. I remember when I was in high school, most students noticed nothing unless there was a lesson at the end of the class.
A very important part of the teacher should encourage his students to pay attention and study the subject. You need to participate in the subject matter, let them investigate, create, challenge, debate and promote the class.
If you want students to learn you, you need to find creative ways to create real interest in the content. It is not enough to give them a grade in class, there is not enough motivation and the result will be that they will only learn the necessary information to get a suitable grade. But if you want them to really learn the discussion, you need to create real interest in the topic.
But how do you interest in learning your content? There are different ways, one is rewarding them, as saying that the best students get extra points, but it's not always a good method. What you can do is let them do research in groups and then challenge the ideas in the classroom.
You can create live illustrations about the topics you need to learn or tell them to create a live parable. When students attend what they are learning in real life, they will be much greater and with the power of the internet there are many good information they can find.
Another way to create interest in learning is to visit places that encourage learning. For example, if you are teaching a story, take them to a collection or let them go to the library for research. If you want them to learn about gift, tell them to go to business and interview with a specialist.
There are many other ways to use live illustrations, but sometimes the best ideas will cater to your own students, ask them what they want to see in the class or how they want to study the subject.