how to fix

can anyone please help, i am new to arduino and it had this error on it

error: no valid Jtag interface configured

Please post the full error message, not the last line of it.

Also what version of the IDE, what board, how you're trying to program it. For the first thing, I'm surprised to see mention of jtag, since I didn't think any of the official boards make use of it....

Most of us are not using JTAG. What are you trying to do? If you are programing (downloading to the Arduino) use the USB/COM port option.