Instead, a good inexpensive treatment is olive oil and a nit comb. That’s right. You can get rid of lice for about $13 total.
Soak the hair in olive oil and carefully comb out the nits. Then apply more olive oil and sleep in a shower cap overnight. Make sure your child is old enough to safely wear a shower cap while sleeping. In the morning, shower with dish soap to cut the grease.
On a personal note, both of my daughters have had lice.
We had success with two solutions: at-home treatment from Louse Calls and fairly expensive medicine from a pediatrician that cost a few hundred dollars.