Arduino and motor

Hello
I want to build device with a simple motor (5V).
I want to rotate the motor to two different ways.
There are two wires at the motor, but I need three (GND, left rotate and right rotete).
How can I solve the problem?
Can I use the arduino to switch the polarity of the wieres? (once plus and minus and once minus and plus?)

Thanks and sorry for my english mistakes

You can't wire a motor directly to the arduino you need some sort of driver. Look at the motor section of this page:-
http://www.arduino.cc/playground/Main/InterfacingWithHardware

in mini robots they adapted servos to do this .