achu_2112, welcome to the forum!
Please could you clarify which board you are using? Is it a Uno R3, and ESP8266, or as looks likely, an UNO+WiFi R3?
The UNO+WiFi R3 has some micro-switches that have to be set in order to program the correct onboard Micro-controller. It looks like you are trying to program the onboard ESP8266, but the MCU is being identified as a UNO R3, so might perhaps the switches be set to access the 328P?