stk500_getsync() attempt 1 of 10: not in sync: resp=0x08

Hello everyone.

I'm doing a new project using Arduino and i got the following error when uploading the code:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x08

Obs: I don't know why, but the board is becoming hot when connected to PC.

The board doesn't communicate. If it become hot, here is a hardware problem: did you remove the chip and reinserted backwards?

If the board is getting hot and it has nothing connected, it is not good. Probably MCU draws high current and can be destroyed, or some other part like 16U2 or on-board regulator.
If it is classic UNO try to remove ATmega328P-PU from the socket and connect the board without it. If it gets hot, the board is affected otherwise the MCU.