Some common defenses are:
Self-defense
Defense of others
Mistaken identity (you were wrongly identified as the killer)
Accident: You did not intend to kill the victim. Depending on the circumstances, you could win a complete acquittal or your charge could be reduced — from murder to manslaughter, for example.