Has Anyone Ever Strained Their Neck?

The other day I was doing my windowmaker set of squats and i was pushing myself so hard that i like fucked up my brain or something. The right side of my head/neck kills me now whenever i try hard in lifting now because of this.

It’s like a warm sensation/pain in my upper neck/bottom right side of my head and its very annoying now and it kinda gives me a little headache now and only comes whenever i exert myself. Did i strain my neck perhaps?