Sex Headache- Help!

So the past two times I've had sex I have gotten a pretty severe sex headache. These occurred at 38 weeks and now again tonight at 39 weeks. I have never experienced this ever before. Should I be worried? Is this just another odd pregnancy thing? Should I tell my doctor?