Hi.
I suggest that you have this assessed by your physician. This requires further evaluation.
A seizure disorder and some underlying conditions such as an anemic state, hormonal imbalance, and cardiac disorders have to be ruled out. I suggest that you inform your parents about this so that you may have an appointment with your physician.
With regards to your headaches, have you had your headaches before?
Or are these recent onset and sudden onset headaches?
Lack of sleep, anxiety and depression may contribute to your symptoms or it can be the other way around. Always communicate with your family if there are any problems in school. If you have any problems at home, do not hesitate to seek someone who will give you a sensible and reliable advice.
Have you looked at electro sensitivity -- it might explain your condition. Canada has a site called WEEP or electrosensitivity.org
I hope this is helpful
Carol761