to kill parasites, you ought to try to bring the chameleon's poo to the vet to do some fecal tests first. this way, your vet can tell you which medication to use.
otherwise, you could try panacur, which is more of a general-purpose medication, but it will be bad for your chameleon if you overdose or use it unnecessary. so best to do a fecal test first if you can.