How to deal with difficult teachers?

The teachers who don't listen to students, are always arrogant, are in their own world only, do not actually teach but give less marks in exams by asking difficult questions or by not listening only.

How do you deal with such people?
How to deal with difficult teachers?
Post Opinion