Each state is different, its called the "Castles Doctrine".
*castle
https://www.ncsl.org/research/civil-and-criminal-justice/self-defense-and-stand-your-ground.aspx#:~:text=The%20common%20law%20principle%20of,and%20expanded%20by%20state%20legislatures.