Plug the Arduino into your computer's USB port and open the Arduino development environment.
In order to get the board to do anything, you need to initialize the motor channel by toggling three parameters:
First you need to set the motor direction (polarity of the power supply) by setting it either HIGH or LOW.
Then you need to disengage the brake pin for the motor channel by setting it to LOW.
Finally, to get the motor to start moving, you need to set the speed by sending a PWM command (analogWrite) to the appropriate pin.
If you do not do all three of these things, the motor will not turn on.
In the following steps are some common examples of common motor setups.