trouble in uploading

my arduino is with ATmega8, while uploading it takes so much time and its nothing gets uploaded.. some time it shows done uploading but didn't working according to program.. ;(
also shows "
avrdude: ser_recv(): read error: The I/O operation has been aborted because of either a thread exit or an application request.
"

please help us :frowning: we are beginers in arduino :cry:

Did you select Tools->Boards->"Arduino NG or older w/ ATmega8"?

Does your ATmega8 have the proper bootloader for "Arduino NG or older w/ ATmega8"?

How are you making the serial connection? Are you sure you selected the right serial port?