How to get over a teacher crush?

I may have some feelings for my teacher and I know that sounds bad. I've been flirting with him for a while now and he flirts back. We're following each other on Twitter. And after class sometimes I stay to ask more questions so we can talk more. I think he likes our little chat too. He's single and young (Age gap is still a lot but we're both of legal age) And I'm sexually attracted to him more than I want. I don't know if he realized it yet (Hope not) What should I do? How do I get over this feeling?
Updates
4 mo
I asked a new question about this situation. I couldn't update it because it's too long please look at it
How to get over a teacher crush?
Post Opinion