Trying to upload code using HC-05 bluetooth but not working.

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00

Hi! I'm, trying to upload code for a photoresistor but I keep receiving this message. My laptop is connected to HC-05 via Bluetooth. It could because I chose the wrong programmer but I'm not sure which one to choose as well.

Using an Arduino Uno, HC-05 Bluetooth module, Macbook.