Again, it depends on the motor type. One with an optical encoder is just a plain DC motor and applying a voltage will make it rotate, reversing the voltage will make it rotate in reverse. A stepper motor will not turn though, instead of rotating it's own magnetic field to keep it turning, a stepper relies on you doing it electrically by connecting the voltage to one or more coils in a particular sequence. The coils 'pull' the rotor back or forth until they align internally and a sucession of coil windings allow you to then move it on to the next position when they are in turn energized. It allows the motor to be moved by a particular angle, that is why they are generally used in printers where the alignment of carriage and ink is so critical. To make them rotate you sequence the power supplied to the coils so it steps rapidly, giving the appearance of constant motion.
You have 6 wires to the motor, they could be one common connection and five coil conections or you could have three independant coils, if you measure the resistance between wire pairs it will give a clue as to the motor type.
Brian.