Back of the head pain?

I'm on day 5 of my period & this morning I got this sharp pain around the back-right part of my head. It's not constant. It just has been coming & going throughout the day. Like someone shooting a rubberband every hour or 2. I don't know if it's a nerve or my period. Has anyone experienced this?