atmega8 pinout

minoswydis:
i am uploading program with arduino. I don't know if i should burn bootloader into my atmega8, well if i should than i don't really know how :confused:

You don't need to burn a bootloader as you could always use your UNO (or a device programmer) to program it but it gets tedious using an UNO to keep connecting/disconnecting to program. Look here to see how http://arduino.cc/en/Tutorial/ArduinoISP
I found it easiest to burn a bootloader and then have an FDTI2USB like https://www.sparkfun.com/products/9716? to upload programs and act as a serial monitor.