Focus on reducing moisture and sealing any cracks. Centipedes hunt other bugs, so general pest control helps. Keep your place dry and they'll bugger off.