Only if the intruders seem like they are going to come up the stairs do you announce that you have a gun and that the police are on their way.
The purpose of the gun is not to kill the intruders. It is to deter them from approaching you and your family, and make it preferable for them to leave.
There's a reason every professional military trains soldiers to that their knee jerk reaction to a threat should be to attack it as violently as possible (with some nuances). Taking back initiative counts for a ton in an ambush situation.
The odds of that, vs just an armed burglary, are very small.
Edit: I don't believe this warrants downvoting. I'm sharing useful information that would be covered in any Concealed Carry class.