Is it illegal to use pepper spray or a stun gun?

When someone tried to rob you? I was snatched of my ipod a couple weeks ago and today these ppl tried to take my iphone with me by snatching it. I was just wondering would it self defense if I use any of those when they try to snatch something from me again.

I'm in California.

Thank you!

Added (1). Is attempted robbery consider as self defense?

No its perfectly legal only if its in self defense of course.

  • What is your opinion on gun control? Please, no semi-literate, iphone zombie, teenage kids. This question is for the big boys only, OK? Now, i believe in gun ownership of all forms but i would like to view your perspective on any gun peeve that you might have. It can't be "Well, less guns, less crime!" cause that's not true, that theory has been proven wrong. Thanks for commenting, you guys both provided very good points with stable answers.
  • Pixel Gun 3D - Block World Pocket Survival Shooter hack or cheat? Welcome I wish to get working Pixel Gun 3D - Block World Pocket Survival Shooter cheats… I want to hack my iPhone5 My phone is not jailbroken so it'd be amazing if anyone was able to help with it
  • Looking for a suitable gun to kill 1,000 crows in 2 weeks. Anyone care to I've made a bet with my friend that I'll shoot down 1,000 crows in less than 14 days hence I'm looking for a gun because I can't afford to buy an iPhone. Problem? I've never owned a gun before or know anything about guns so… I just need some help. I'm thinking about buying an AR15 rifle with a drum mag, bump stock, front hand grip and a tactical scope but my mom says I should buy an automatic shotgun with a ton of bird bombs. What do you suggest?
  • How well is gun control working in the South Bronx? I was mugged with a gun back in February, he took my $300 Purse and my $500 iPhone. But I DIDN'T have one, so I got robbed.