Your son is having episodes of seizures. It's can be caused due to wide range of reasons. It can be controlled with help of proper medications. I will recommend you to
consult a neurologist immediately,who will examine your child and will prescribe indicated anti convulsive and will help you to manage this condition
There are some precautions which you should follow to ensure safety of your child-
1. Try to find specific triggers which leads to convulsions. Avoid them if possible.
2. Avoid places with high
injury risk like pools, stairs, Source of power or heat, traffic, etc. If can't be avoided then keep your kid under surveillance while being at such place.
3. Never let your son lock himself, even for using bathroom. Insist him to keep doors unlatched.
4. Once you have visited a doctor and all the aspects of problem are analysed,discuss the precautions and management with your son's teachers, coaches, caretaker etc.