Brain chemicals know as neurotransmitters are involved when headache pain is ignited. The spinal cord carries the message that there is pain from its receptors all the way up to your brain. This is when your body knows of it through your thalamus and sends it to your cerebral cortex. This is part of your brain that processes the pain message.