What causes dizziness and electric shocks in the head?

I get bouts of dizziness and electric shocks in the head. Why?