Screen all strangers knocking at your door. Interview them through a one-way peephole while your door is locked. Anyone who refuses to present his or her employee I.D. upon request should be reported to the police. Properly secure all openings at nighttime. Don't assume that upper floor windows are too high for a burglar's reach.
Some confrontations are unavoidable.
When you consider that 4 out of 10 violent crime victimizations by strangers involve an armed offender, it's vital that you be prepared to minimize your risk of injury. Be willing to give up your valuables. A purse, wallet or jewelry is not worth fighting for when facing someone wielding a weapon. Carry only as much cash as you need. If confronted, try to stay calm.