If you feel you cannot change the instructor's attitude or your own, look at what options you have to get out of the course. Typically, students can drop a class in the first week or so without any repercussions. After the drop deadline, you may generally withdraw through about three-quarters of the course. Withdrawal may result in a W on your transcript, but you can avoid getting a poor grade. Be sure to fill out proper paperwork so you officially leave the class. Take the course again from a different instructor if possible.
If you need to keep the class, maintaining a positive approach toward the class and showing your instructor that you care about your education can affect the professor's attitude. Keep attending class, coming prepared with appropriate materials and having done the reading and other assignments. Show up on time, participate in discussions and activities and ask questions about the information to illustrate you are listening. If the instructor can see you care about your learning and the course material, you are less likely to be treated unfairly.
Talk with the instructor directly to help resolve the conflict. Meet the instructor during posted office hours and use a calm, rational tone to discuss the issue. Instead of using language like "unfair" or "biased," ask the instructor to clarify questions or policies involved. Asking how you can improve a grade elicits a more favorable response than demanding to know why the instructor gave you low marks. Some schools insist students speak with the instructor before other avenues of conflict resolution can be opened.
If your individual meeting does not resolve the situation, consider filing a grievance against the instructor. Check your student handbook or school website to determine the proper procedure to file. Typically, students take their concerns to the instructor's immediate superior, such as an academic dean, which may then go on to a higher authority or a committee who will address the issue. Some institutions set up an ombuds office to handle complaints. Such offices give advice to students and work as intermediaries for disputes between students and faculty.