you need to report this guy. no matter what his reason is for acting that way, he still shouldnt act that way. He's a teacher- he should teach you, help you- not belittle you and tell you to go home.
If you have classmates who has noticed his behavior, talk to them. So, you can have...