Headache normal?

I had a massive headache yesterday and I couldn't sleep I'm 16 weeks pregnant I was just wondering if it was normal?