Brain Zaps or Sleep Paralysis

Apparently both are common & there’s no danger over it but I hate that it happens to me. Has it happened to any of you?