Even in circumstances where the accused has a defence of self defence to a criminal charge, he may still be held liable in the tort of negligence in respect of the same act (Revill v Newbery -  2 WLR 239).
Thus, where an occupier of premises comes across a burglar on his land he cannot act with total disregard to the burglar's safety, any more than one could attack an attacker, and the maxim ex turpi causa non oritur actio (no action will arise from a bad cause) cannot be invoked to provide the occupier or good samaritan with what would amount to a complete defence to the burglars/attackers claim for damages. However, even though such a complete defence may not be available, the courts are likely to reduce the amount of the claimant's award on the ground of contributory negligence. Trespass against the person is another possibility.
The law in the UK and the US are quite similar.
U.S. laws governing self-protection derive from the ancient English common law that held that a medieval Briton was obliged to retreat until his back was literally to a wall or a ditch before he was justified in fighting off an assailant. This so-called "retreat law" has been substantially modified in American courts, which have generally ruled that though a person must attempt to avoid trouble, he is not legally bound to flee if such action would increase his peril. Only Texas law ignores retreat altogether and permits an attacked person to stand and fight it out under any circumstances.
In the US and UK, once the fighting has begun, the law becomes a matter of interpretation. An attacked person is legally permitted to exert only as much force as is necessary to repel the aggressor. The word 'self' in self-defence is rather misleading because any person has a common law right (some might say an obligation) to prevent crime, whether that be to stop an assault, or otherwise.
This is an article called "How To Find Legal Help When You Can't Afford It" with links to legal information and legal assistance in every state:
I suggest that you seek legal information specific to your state and legal advice based on the laws from your state and the particular facts of your situation.