why did I get a headache

I was giving my fiance a blow job last night before bed and he didn't want me to stop. so I kept going and my neck started to hurt then my head why did this happen to me.