It is bad I hit a woman who was stalking me?

I caught her following me again in the parking lot of my workplace, she said she just wanted to talk but then she grabbed me so I hit her in the face and locked her when she was down

That's self defense right?

It is bad I hit a woman who was stalking me?
Post Opinion