Some of the most common defenses include:
Self-defense or defense of others: This defense requires a reasonable fear of harm.
Defense of property: This defense is quite limited.
Consent: You might be able to use this to defend yourself against a sex-related battery charge.