Why do you have a headache and dizziness when you do math problems?
Your condition shows that there should be nothing wrong with your health. You don't need to worry too much. This situation may be because you are not particularly interested in mathematics, which may be caused by psychological effects. As long as you relax your mind and have a good mood to study math, you should not have this symptom.