Hi there. Please don't worry, it happens to many people during exams. It could be performance anxiety or a panic attack, however as you know proper diagnosis needs complete evaluation.
Next Steps
Please consult either a psychiatrist or a neurologist.
Health Tips
Please don't delay the consultation or take self treatment