1. Don’t stare into his eyes for too long.
2. Don’t ask him questions about his private life.
3. Don’t take the last time slot for office hours.
4. For the love of God, don’t schedule office hours at a coffee shop.
5. Don’t overanalyze his comments.
6. Don’t send him emails about issues not pertaining to class.
7. Nod, don’t smile, when you see him around campus.
8. Don’t stalk him on social media no matter how cute he looks.
9. Find yourself a (preferably undergrad) hookup.
10. Don’t talk about him to other people.
At the end of the day, he’s your professor and that’s what he’ll always be despite your daydreaming in class. Daydream about the message rather than the messenger for a change. Besides, he might turn out to be gay. ;)