Nearly all states allow some use of deadly force to protect yourself inside your home, based on the "Castle Doctrine." In some areas, many people still have a "duty to retreat" if possible against an attacker outside their home. But some states have expanded their laws to boost those protections in other areas.