You must have an interesting topic, or if the topic is not that interesting then make it, you can give some activities that they will learn and have fun at the same time. Also being nice to your students is necessary so they will be nice to you too, but don't be too close to them to the point that they lose their respect.