Causes of detonation?

I don't think I'm going to worry about headers now as I don't have the money for good ones. Besides I'll be giving up 10 HP at the most on this mild engine. I'll have to try to convince my dad now to get me dual exhaust so I don't blow up my engine. LOL!!!