If you're using a motor shield the motor & arduino connect to that.
Have a look at thesetutorials:
http://udanis.com/arduino-motor-shield-tutorial/
http://playground.arduino.cc/MotorControlShieldV3/0
http://www.tinkerkit.com/arduino-motor-shield/
If you're using a motor shield the motor & arduino connect to that.
Have a look at thesetutorials:
http://udanis.com/arduino-motor-shield-tutorial/
http://playground.arduino.cc/MotorControlShieldV3/0
http://www.tinkerkit.com/arduino-motor-shield/