Using Arduino ethernet shield with Arduino UNO R3

I am new to arduino.....i want to use this arduino board with ethernet shield to monitor the input signal provided to arduino board and send it further to particular IP address using ethernet shield.

Questions:
How do i convert my digital input(say 5V) into data packets using arduino ?
How do i further send these packets to IP Address using ethernet shield?

This is usually done using mysterious stuff called software. Go to the Arduino homepage and follow the getting started instructions at http://www.arduino.cc/.

The free development software has examples included in the file section, under examples, that are probably what you need.