The first is to simply vacuum them up with a shop vac or other vacuum. This is easier to do than it sounds, because millipedes typically curl up and die after a few days in the dry interior of a home.