Using l293d to run dc motor

Im new to arduino
i have l293d ic and an dc motor i dont know how to run the dc motor.
please help me run dc motor
as im new i need the code and circuit diagram.

Here's an L293 tutorial....

thank u