Horrible post sex headache

K

Every time we have sex, when we're done I get up to go to the bathroom and as soon as I sit on the toilet I get a horrible intense headache! It lasts only a couple minutes and then is gone. It's only after sex that this happens. Any ideas what could be causing this?