Seriously ......
Don't get a gun .
Statistically guns are more likely to injure someone you love than the intruder.
If you had a gun, you'd probably be down at the police station being interviewed , rather than chating on the Internet and the rest of your life would revolve around THAT NIGHT...