I could really use some opinions on this!

Sorry for the long post. So My boyfriend and I were having sex today and when he got close to finishing he got a severe headache so he stopped and waited a minute and it went away til he finished and then it came back it was to the point he said it crippled him. He just told me that these headache have been happening for awhile now but he never said anything. I was just wondering if anyone else has gone through this and what to expect at the doctors?