when using a new atmega8a, shows the initialization failed, rc=-1

dear all

i was working with arduino using atmega8A. but i replaced the MC with new atmega8a. as i tried to upload code in it, it shows the message

avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

so what should i do for it?

bootloader installed ?