HOW to work with relay?

i am working in line follower robot.i have no idea to configere it and how it worka and what to program there

What is the "it" of which you speak?

how to connect relay to arduino uno?

dipeshb123:
how to connect relay to arduino uno?

http://www.thebox.myzen.co.uk/Workshop/Motors_1.html