What should a teacher do when students keep talking out of turn in her classroom?

This is a middle school classroom. The students do not raise their hand to answer/ask questions. She just keeps reminding them you need to raise your hand and does not call on them until they do so or ignores them. What’s a better techinique so she does not have to keep taking time out of the class period to remind them? This is a special education classroom. Also what could she do if a student keeps whining instead of just ignoring his behavior or lecturing him.

For the kids not raising their hands- One idea is she could praise the students that do raise their hands (i there are any). Or another idea is she could have some kind of system that gives consequences to those students that call out without interrupting class, like if a student calls out then she takes points off of his/her participation grade.

For the student that whines, the teacher could separate him/her rom the rest of the class (like a time-out) and then after the student has calmed down, go talk to the student about what he/she did wrong.