Vaseline.
In Canada self defence is “legal” but in most cases you will be charged no matter what the method used to stop the threat. The ambiguity of the “reasonable force” clause means most police would rather press charges and let the courts decide. So then the process becomes the punishment for daring to challenge the state monopoly on violence. You will walk free, after 3 years in court, $10,000’s in legal fees etc.
so you need to decide if what you have is worth fighting for. If it is, you best equip yourself with the best tools available to you.
At least then, after the criminal(s) and state have ruined your life you can still hold your head up/ look your family in the eyes.
I am not a lawyer
The only case I remember locally where no charges were laid was a machete wielding home invader got tuned in by the homeowner with a baseball bat about 15 years ago
Good luck