Is my Arduino board defect? No matter what program I upload the pin 13 turns on and off 3 times and that's it
The best way to check if Arduino is working or not is to install Firmata. Here's the necessary steps:

1) Download Firmata application from the official website. 

2) Connect Arduino to the computer

3) Open the Arduino IDE and burn the example Standard Firmata [File - Examples - Firmata - Standard Firmata]

4) Open the application, leaving the Arduino connected. 

5) Chose the right serial port and debug every pin =D