Error Uploading

I have made a basic code for my Arduino's motor to move forwards. Then it took a really long time to upload. But I tried re-uploading and it came up with an error like this:

Sketch uses 834 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch
An error occurred while uploading the sketch
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x3c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x3c

Anyone can help please? Thanks!

What's connected:
Arduino: 1.8.12 (Windows 10), Board: "Arduino Uno"

How did you connect the motor to the Arduino ? Which motor did you use ? , I think the motor may have burned your chip. Did you connect it directly ?

Yes, it's all connected perfectly and fine. The Arduino apparently turns green when I plug in a battery but, there's no orange light or won't input any code.

By turning green I mean a green light appears to show it's on, but shouldn't there be a second light that's orange to turn on when a code is inputted?

Also, I made my own Circuit board to power the motors which connect to the Arduino. I was currently checking through if it was the circuit board, but there wouldn't be a way that it'd be the circuit boards fault due to working only 3 days ago and now no longer wants to run my motor forward.

I also used an N20 Motor, 2 of them. They both work perfectly fine, there's no error with my code otherwise Arduino would tell me where, which it doesn't. I've never had this problem before and have no idea how to solve it.

Could you post the circuit diagram