First of all appreciate the effort that students put to attend class because of the students you have a job. You must make sure to schedule time effectively so students go home every day confident that they learned something new and gained new skills. Instructors must educate themselves on a daily basis to ensure they are knowledgeable about the subject matter they teach and are updated on the new technology used in their field of study.
When students believe their time is well spent, they will attend. When they are convinced the instructor is knowledgeable and investing in educating them they will be retained.