Using a reed switch with Arduino

The trick of getting an answer is to give us something to go on. So post the code and / or post the schematic and we can review it. As it is all I can say is there is probably something wrong with the software or the hardware.

Start with the blinking LED to see if the basic hardware is working.