Head lice treatment while pregnant


I'm 27 weeks pregnant & work at a daycare. I just found out one of the babies I care for has head lice & I picked her up a few times & although she did not lean on my head or touch my hair I think bugs could of gotten on my clothes. Is it safe to use nix lice treatment or any other treatment in case I got lice from her?? Also what can I use to prevent it in the future.