Hi, I have an arduino uno board and I just bought an atmega8 chip whit the bootloader, but I don't now what to do in order to pragram it whit the board, is there some ajust on the program? How can I program the atmega8 chip?

You program the chip on the Arduino board. Please take a picture of the board and atmega8 so we can identify what you have.