Events such as the horrific murder aboard the Greygound(or something) bus in Canada, repeated home break ins that result in murder, torture, and rape, should be enough justification for anyone who is concerned to be able to get a weapon.
You need to take classes though. It is excellent to have some way to defend your family (part of manhood that I think has been lost), but having a gun with little or no idea how to use it is MORE dangerous to you than just using a baseball bat or whatever. Learn to use it, learn to load it, learn to store it. Get a good safe or a way to store it. Be responsible, do NOT play with it, do not show it to people, do not ever, EVER point it at something you are not willing to destroy or kill. Even if you think it is unloaded. All guns are loaded. Always. Always. Until you have it disassembled into tiny parts to clean it, it is a weapon.
Common weapons for home defense include .38 revolvers(powerful but somewhat small and limited recoil. Very reliable, will fire if you pull the trigger, does not jam, being a revolver), shotguns, or mid calibre autoloading pistols such as a 9mm(a little small), .40 or .45(kind of on the largish end, high recoil). You might consider S&W for revolvers, SigSaur, Beretta, Glock, or a similar company for autoloaders(semi-automatic pistols).
Get a safe or a case that makes it easy to get to for YOU, not for little kids or criminals. Maybe one right under your bed, perhaps one of the new-fangled fingerprint scanners. You can get your gun in seconds, but only you can open it, otherwise it is locked away in a thick metal safe.
Go to a local gun store that displays NRA posters or offers NRA classes. These will be, generlaly, responsible, and will help you decide and direct you to training available. If there is a shooting range nearby, they will offer similar advice and might let you try some(either paid or, rarely, for free).