Bidirectional motor help, how to go back AND forth?

I have been an avid arduino user for quite some time now, but just got a motor shield to work with a robot.
But! I have one big issue, I don't know how to make the two 6v DC motors to go forward and backwards... I am using the Dfrobot motorshield and an arduino uno with four motors, however the two motors on the left are connect and same for the right. How can i program this to work?

I am assuming you mean this shield: 2x1A DC Motor Shield for Arduino - DFRobot . This makes it very easy for you. Just put Pins 4 and 7 high or low for the direction. Arduino_Motor_Shield__L293___SKU__DRI0001_-DFRobot

It uses an L293D, which is a very popular H-Bridge. You may want to do some reading on them in the case that you use them without a shield. Check out this: DC Motor Interfacing with Microcontroller tutorial

No, its the 2A one, however thats absolutely perfect, thank you! im about to go to bed, but ill check it tomorrow after school and tell you how it runs!