Headaches and sex

Alissa • 20~ in a relationship with my love since 12.26.14
Every time I have sex I get a pounding headache afterwards. I heard sex is supposed to relieve headaches and stress. Not cause them. Does anyone else have this problem? Should I see my doctor about it?