Errors while trying to upload sketch

Select Tools > Processor > ATmega328P (Old Bootloader) and then try uploading again.