Colloids particles will well dispersed in the medium (stable) or aggregate (unstable) depending on 3 forces:
Gravity-the particles must not be too large.
Attractive force (van der Waals) if this is large flocculation or coagulation.
Repulsion e.g. e.g. electrostatic stabilization, polymeric stabilization.