Before she started teaching in this school,she was dismissed from the first one,because she had something going with one of her students.
Hello Njanja
You might say:
"She was dismissed from the school where she taught before this one, because she had something going on with one of her students."
MrP
Thanks.