A device for treating pests and method for using the same. The device comprises an effective amount of endod. The device can be placed in a body of water wherein the endod treats the pests. Additionally the device can be placed in a pipe whereby a combination of the endod and the mechanical force of the water removes the pests in the pipe.