Sharp head pains?

So recently when I’m sneezing or bending down I sometimes get this excruciatingly painful, sharp and debilitating headache in one side of my head for like a minute - then it’s completely gone

Any ideas why?

(Disclaimer: I’m will see a gp, I’m just asking in the meantime)