Uploading error

So I uploaded a sketch in which I use digitalWrite on pin 0 (I didn't have any other choice, I need 14 pins) and it worked. After that I couldn't upload any other sketch, not even blink sketch.

Can you use one of A0 to A5 (D14 to D19) instead so that D0/D1 are left free for Serial comms with the PC?

CrossRoads:
Can you use one of A0 to A5 (D14 to D19) instead so that D0/D1 are left free for Serial comms with the PC?

Well I didn’t know I could do this, but problem still remains, I can’t upload anything onto arduino board now

What did you connect to that pin that you were digitalWriting to control? Disconnect it.

The software can't break upload like that itself because the board gets reset at the start of the upload process,