I been in a large swat group with full body armor with a m4 while people are throwing shit at me and not backing down. Let a few dogs go out and watch the people surrender or run away.
Dog is the best home protection you can get. The dog will hear the robber way before you. Then I recommend a 870 12 gauge. One of the best and most reliable guns ever. 2 rounds of buck shot followed by a slug.
My personal home defense gun is filled with rubber bullets. If someone breaks into my house I just want to knock them down so I can call the police so they can have a good honest trial. LOL just kidding. They'll be dead were they stand so they don't walk out of the courthouse with nothing but a home arrest.