arduno robot?

I procured a motor shield that fits neatly on the top of the Arduino. I do not know how to code it with the Arduino so that I can run it in forwards and backwards. Thank you!