- Click on the menu near the top of the screen that says "Arduino Nano".
- Click "Select other Board & Port"
- From the Boards menu, select "Arduino Nano"
- From the "Flavour" menu, select "ATmega328old"
- If necessary select the port of your Nano.
- Click "OK"
- Try uploading again.