I don't have experience with my own child yet, but this happened a lot to me as a kid. My teacher once told me I was stupid (yes, that word) for pointing a mistake in her assignment out, privately.

My mother went to the principal of the school. no teacher should EVER EVER bully a student.