Avoid high crime locations, don't flash a lot of money, don't frequent prostitutes, don't do dope, don't go to seedy bars, don't brag about the vast gun collection at your home. Doing these things will do as much to keep you alive as carrying a gun of any type.
Oh yeah, if there's a Gang Member in your family throw them out of your house.