If you want to be more confident youll properly act if a situation arises..........practice.
If your down stairs and you are thinking you may run upstairs where a weapon might be, see how long the process takes you. Time yourself. Practice getting your gun out and aiming for a door. Repetition and practice is what will make you comfortable if the situation does happen to you. Practice chambering your gun if it is a semi auto or pump shotgun. You dont have to use live rounds. Practice aiming and pointing at different area of your house. PRACTICE AT NIGHT!!! Dont laugh, I run through my house all the time in the dark with a gun so I am very familiar with the situation.
If you have your CCW, practice drawing your weapon from different angles, positions etc.
Last but not least when you go to the range dont just shoot in a Point and shoot, weaver or modified weaver stance. Shoot of center, around a corner, sanding, crouching you name it practice them ALL!!!!