Neem is supposed to be very good at controlling parasites. You could brew some leaves and add the tea to the shampoo or rinse the hair in it. Otherwise I went through my dd’s hair one strand at a time and removed the nits.
I didn’t know about neem at the time and used a prescription shampoo. It worked.