COM error

Hello people.
I have a problem with the Arduino UNO R3. Maybe you can guide me. I was trying to control a servo motor when it started. I can no longer upload sketches.
The sketch is compiled starts to load (the RX led flashes a couple of times) and then hangs (the TX led does not light up). If I press RESET, nothing happens (L Led does not flash, stays on all the time). After a long time the error below appears in the IDE:

The sketch uses 444 bytes (1%) of storage space for programs. The maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. The maximum is 2048 bytes.
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 1 of 10: not in sync: resp = 0xbc
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 2 of 10: not in sync: resp = 0xbc
avrdude: stk500_recv (): programmer is not responding
...
avrdude: stk500_getsync () attempt 9 of 10: not in sync: resp = 0xbc
avrdude: stk500_recv (): programmer is not responding
avrdude: stk500_getsync () attempt 10 of 10: not in sync: resp = 0xbc
Problem loading to the card. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

When trying to write the Bootloader through the IDE I got the message: "Error writing the bootloader."
I'm a beginner with Arduino. I looked for help on Arduino.cc (troubleshooting), but none of the tips helped to solve the problem. Do you have any idea what's going on?

The problem may be because of many reasons.

Please tell the history of the board. Was the board working fine before? Do you have any other board having the same problem?

..Arnav

(deleted)

(deleted)

spycatcher2k:
@ArnavPawarAA

Come on, you have been asked to learn before jumping in!
Not required.

The OP already told us it was and they were able to upload fine.

This IS a relevent question to ask, as it MAY be an IDE/Driver issue. But as the OP has had a motor connected, this is usually an over current issue, or a connection has been made to pin 0 or 1.

Ok I think I was wrong. Let the OP answer our questions first. : )

..Arnav