1: Do not engage in home invasion.
2: If you must break into a home, take your shower before performing the break-in.
3: Be out of the house before the owner comes home.
4: Make sure the homeowner does not have a gun.
5: If you are concerned about the owner's gun, you may call 911, but understand it will result in your arrest. Because you broke into his home, remember?
6: Make sure the owner actually has a gun.
7: While many homeowners who own dogs also own guns, many others do not.
(Whether the owner had a gun is uncertain.)