Aggregation of nanoparticles is often related to the shape, surface properties and charge contained in them... a reading on Derjaguin-Landau-Verwey-Overbeak and Extended Derjaguin-Landau-Verwey-Overbeak theory of aggregation could provide some insights...
To totally prevent the aggregation or agglomeration of nanoparticles is rather difficult due to their small size and mainly attractive forces between. Milling by attrition in organic medium is well known way to decrease the factor of agglomeration. Ultrasonic treatment can temporary decrease the aggregation, however after very short time , the situation can be the same as it was before ultrarsonic treatment.