If you are feeling tense in an exam, stop, put down your pen and relax. Breathe slowly and close your eyes for a few minutes. If it helps, put your head on the desk. Shake your arms. Say something positive and encouraging to yourself.
Source: Coping with exam anxiety @ University of St Andrews
image: exam by Karl Baron under Creative Commons license