Should I call my OB?

I’m 34 weeks pregnant. And last night as I was laying down I got a headache with sharp stabbing pains in the side of my head. I eventually fell asleep and at first i didn’t have the stabbing pains but now I do.

Has anyone had this? Its mainly on the right side.