Please do not post pictures of code
Please follow the advice given in the link below when posting code, in particular the section entitled 'Posting code and common code problems'
Use [color = red]code tags[/color] (the </> icon above the compose window) to make it easier to read and copy for examination
Your sketch needs to have a loop() function defined in it even if it does nothing
Use a good quality data USB cable and do not use a USB hub or USB 3.0 port.
Remove anything wired to the board.
Step 2: Boatloader mode option:
Double tap the reset button on your board quickly. You should now see the LED on the board pulsing (fade in and out slowly), which means the bootloader is running. The double press/tap makes the bootloader to run indefinitely (until the board is reset by taping again the rest button once, powered off, or an upload is done).
Select the COM port for the board from the Tools > Port menu. The port number is usually different when the bootloader is running.
Start compile and upload a Blink LED sketch from the Arduino IDE examples.
Once the upload finish successfully, you should now be able to program the board normally without the need to put the board in boatloader mode.
Note: do not use your own code when the board is in bootloader mode.