There are a few ways to get rid of cockroaches. One is to use a pesticide. Another is to put them in a dark place and wait for them to die.