Arduino tutorial - Burn Bootloader from Uno to Nano board - for errors while uploading the sketches.