The only thing a homeowner can do is harden his home, but many local laws prevent that. Or you can run, after you herd all the family out of danger. Or you can have your kids traumatized while the perps beat you and the wife. If you're in bed and the bad guys kick in the door, you have seconds to react. If unarmed, your only recourse is option three and hope you get squeamish assailants. You're either dead or beat, but you shouldn't get charged. I say shouldn't because the Crown appears to have their own thoughts that home invaders aren't the problem, the people that chase them out with guns are.
Call 911, because when seconds count, police are only minutes or hours away. To Serve and Investigate.