If it's concerning you, I would definitely consult a medical professional. I'm sure there are a number of tests that could be done to ensure you're not suffering from something more sinister.
my 8 year old neice has been complaining about brain zaps when she's trying to fall asleep at night. if you figure out why you get yours then please let me know, cause i'm pretty worried about it. we took her to the doctor and he basically just shrugged.