What to do when you get stuck with a shitty professor?

He told the single mom in the class, "you don't have to come back any more; you failed" because she had to take care of her sick mom.

And he said to a guy in the class, "Have you worked at McDonald's? Well, that's where you are going to be working after you fail the class" he's always sarcastic.

He talks a lot of shit, and his office hours are a waste of time.

What to do when you get stuck with a shitty professor?
Post Opinion