
The students must feel that you are competent in your subject matter sometimes they test you. Also, you need to be very excited about what you are teaching it really gets their attention and you will win them over. If you are not sure about something let them know that you will research it and get back to them. Students know that teachers do not know everything and a competent teacher will do followup.
Gaining students trust is based on setting clear and fair rules and their rewards, addressing their learning styles, and most importantly show them how much you care about their education.