TTGO T-Deer

I bought two of these modules (TTGO T Deer Pro Mini Lora V02) but when trying to connect them to the Arduino IDE I am getting the error:

“avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xc1”

I tried to use the arduino mini and arduino pro or pro mini as devices but I still get these kind of errors. Can someone please guide me on how to program these modules with Arduino IDE?

Thanks