standalone atmega 8

Post a photo and schematic of your wiring, and exactly what error you're getting.