Yes, you can, but it has a different connotation, as I explained. That sentence refers to what you should do for their sake, not for your sake or the sake of your classroom (which, so far as I can tell, is what you actually meant).
Consider the word "mistreat". "Treat", in that sense, is the opposite of that. I might say that I'm being mistreated if my boss unfairly changes my schedule after already sending it out without also informing me of the change. Conversely, if my boss is very nice, always listens to my concerns, and is fair with me, I might say that they treat me well.
But I would not say that I'm being "mistreated" if my boss lets me do whatever I want without consequences. In fact, if I'm bad enough, you could argue that my coworkers in this situation are being mistreated (if e.g. they're complaining about me bullying them and said boss is doing nothing).
So think of the inverse of that:
If you were talking about a student that you're constantly upsetting and you can't figure out how to make her feel better, you might say, "I don't know how to treat girls like this." In such a situation, you're saying that you feel bad for how she feels, but you just don't know how you can do better for her sake.
But if, instead, you're talking about a student who is disruptive and out of control, you don't wonder what to do about her feelings for her own sake; you wonder what to do about her behavior for others' sake. So you would say something like one of these:
"I don't know how to deal with girls like this."
"I don't know how to handle this sort of situation."
"I don't know what to do about girls like this."
Does that make sense?