Others have said it, and I concur, Handgun to hunt the "bump in the night", Shotgun to keep the nefarious felon out of the bedroom and the rifle to keep him a distance away.
Here's my personal SD Distances, not saying I can't or won't shoot further, this is just what I consider the best "optimal" distances.
0-7 Yards: Handgun (Very Likely)
7-25 Yards: Shotgun (More Likely At Closer Ranges)
25-100 Yards: Rifle (Not Very Likely)