bluetooth module hc 05 with arduino uno

I am using a hc 05 bluetooth module to my arduino uno board. the connections are
HC 05 > Arduino UNO
RX >TX
Tx >Rx
VCC > +5 v
GND >GND
when I powered on the UNO then the HC 05's led is blinking. but while I am trying to upload a program to the Arduino board then it Shows this error..Arduino: 1.8.2 (Windows 10), Board: "Arduino/Genuino Uno"

Sketch uses 2510 bytes (7%) of program storage space. Maximum is 32256 bytes.
Global variables use 216 bytes (10%) of dynamic memory, leaving 1832 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

So now what i have to do with this problem..
Please help me guys .. its very important and urgent...

I followed this tutorial and I got no errors. I think this tutorial will help you.

I think the dude in the video did not know what he was doing.
The HC-05 modules I know have a 3.3volt regulator on the sub board, and need a 5volt supply to work properly.
You should not use Arduino's TX/RX pins, because the Arduino is already using them to talk to the USB chip.
Use SoftwareSerial on different pins.
You should use a 1k:2k voltage divider on the BT's RX pin, because that pin is not 5volt tolerant.
Leo..