At the onset of a panic attack, the sympathetic nervous system causes your muscles to tense up. It also sends a message to your adrenal glands to release the hormone adrenaline. This adrenaline has many effects on your body: It produces sweat and increases your heart rate.