Everything everyone else said, but to really point out, if this headache is out of the norm for you GO TO A DOCTOR. I don’t mean to freak you out but my mom instilled that in me from early on. Headaches and migraines happen, but it you get a new type, a weird spot, or they last longer, or anything weird or different get it checked out asap.
I’ve known 2 people personally who have had aneurysms, 1 was lucky, the other not. Get it checked out to be safe.