Solder the wires on and put heat shrink over to stop them bending too much. They will come off if you don't solder them and the resistance will be higher (probably doesn't matter much for these tiny motors though).