3rd world stuffhole: Hard to say. I used to wonder about this in Australia. The min. police response time there is like 15 minutes so I guess I prepare them to find my corpse. 30 seconds probably is enough to get a cooking knife from downstairs (I have now committed a crime in most Eurostuff nations and Australia), since invader has a gun I'm not taking it outside, probably going to have to hide somewhere in my home, and hope I can overpower someone who is undoubtedly high on drugs with element of surprise if discovered. Get raped, die
Free country: EZ DUBS, acquire staged shotgun, get behind mattress, ID target, ambush, remove garbage from gene pool