Teacher arrested on sex charges