Sexual position

Patient: In a certain position during sex is great but when I get up I have a massive headache….it only happens in this one position….what x can cause this?

Doctor: