In Canada we do allow self defense but it has to be proportional so if they people who enter your home are unarmed and you shoot one, then you can be charged. We don't have the castle doctrine like the US has, otherwise force always has to be proportional to the threat. Otherwise if someone is just breaking in but they are not physically threatening you, then using force can land you in trouble, but if they actually threaten you, you can fight back. As for firearms, Canada has much stricter gun laws than the US, if you have firearms, they have to be unloaded and locked away and you can only take them to the range or when going hunting, you cannot carry a loaded gun with you in Canada. This has been a controversial issue with the right generally wanting to change laws so you won't get charged like below, while the left is generally supportive of the laws arguing it would just lead to US style castle doctrines which they believe could result in more deaths.
Well that's stupid.