How to get rid of headache after crying?

I was crying for 3 hours earlier don't wanna explain why but I'm okay now. Now I have a massive headache would Advil help or what it hurts so bad