as that's a food source for centipedes Vacuum or squash them as you find them (this can help control the populations) Use an insect barrier treatment If after these methods you still keep finding ...
This will also help to get rid of centipedes' preferred food sources, i.e. other insects. In the garden, stick to ...