Reset Button

How do i wire an external reset button to the arduino. And what program do i use?

Wire across the terminals of the existing switch.

Why would you need a program?