Several states restrict foreign nationals, close schools and ban mass gatherings to halt the outbreak.