Head lice?

So I've recently encountered head lice. I was wondering if during pregnancy you can use the kit?