The Mike Pence rule, of never being alone with a woman, seems like great advice.
I am a woman who is retired from teaching high school. My personal policy was never to be alone with a student - male or female - unless my classroom door was open and both of us could be clearly seen even from the hallway. At the start of my career, I never would have dreamed that such a policy would be necessary.