Call them "Professor XX" in class, call them "Lecture" after class, call them "Mr./Mrs. XX" when you talk with friends, and call them"sir" if you would like to be loved.
Glad to help, good luck.