Add a non-solvent (a liquid in which the nanoparticle is insoluble), usually a solvent of polarity different from the solvent in which the synthesis was carried out, before centrifugation. In your case, as the solvent used is DMF add a nonpolar solvent that is miscible with DMF.