I'm a teacher who has feelings for a student
What do you mean by "feelings" for your student?
I'm in love with the student.
I'm sorry, but you are a teacher and in a place of authority. You have no right to fall in love with a student, because it is inappropriate. You need to keep your feelings in check because you don't want to get fired.
That is harsh, but I understand.
Yeah it's harsh. If you want to keep your job you should stay away from getting involved romantically with any of your students.