I think I have got lice in my dreadlocks what should I do?

One of the biggest thoughts for dreadheads are what happens if I get lice in my dreadlocks, do I have to shave my head or is there a way to get rid of the lice from my dreadlocks?