We all want to be friends with our teachers. Of course, we hope that teachers can often tell some jokes, not too much, but moderately. You can play jokes on good-natured classmates at first.
Most students don't like the teacher's nonsense, so don't start with a lot of preaching.
Don't keep a straight face as soon as you enter the classroom. Before class, you can tell some short stories or jokes related to the content of class.
As you can see, my main point is to let you tell jokes.
But the effect varies from person to person. If you are a primary school student or a junior high school student, telling jokes is highly recommended. After grade three, telling jokes may not be popular.
Chatting with students like old friends is the last word.
I wish you success.