This error message comes up while uploading it on my arduino

Sketch uses 3432 bytes (10%) of program storage space. Maximum is 32256 bytes.
Global variables use 224 bytes (10%) of dynamic memory, leaving 1824 bytes for local variables. Maximum is 2048 bytes.

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x10
avrdude: stk500_program_enable(): protocol error, expect=0x14, resp=0x00
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00
Failed uploading: uploading error: exit status 1

Welcome to the forum

Which Arduino board are you using and which board have you got selected in the IDE ?

I am using aruino uno r3 and arudino ide

Does your operating system (which one) recognise the board? How is it identified (Arduino Uno, CH340, ...)?
Did you select the correct port (matching what your operating system found)?

Oh well, one answer out of 2 questions, that's typical.
Which board have you selected in the IDE?