Only Text Quote

At what point is someone precluded from availing themselves of the justification of self-defense because of their own poor judgment or bad behavior?