Use dumbells, barbells, and machines– in that order.
Why?
Because the stabilizer muscles you use with dumbells fatigue before your larger muscle groups. So progress to machines, which requires less help from your smaller muscles, as you grow tired.