Wow that's scary, especially with such a young, small baby...I'm so sorry. Hopefully it's not a seizure disorder, but rather a nutritional deficiency, as Tracie has already mentioned. It's quite common for people to not be using an adequate
UVB light for bearded dragons, as they are desert reptiles that require 13-14 hours day of strong, adequate
UVB light, and most all compact (regular lightbulb shaped) and coil (spiral or twisty regular lightbulbs) are not even close to appropriate for bearded dragons, they need long UVB tubes that are much stronger and have long, tube fixtures with metal reflectors behind where the UVB tubes sit to reflect adequate
UVB light throughout the tank. Also, if you have a mesh lid on top of his enclosure/tank, the mesh blocks around 40% of the
UVB light emitted by their lights. So if you're using either a compact or coil
UVB bulb or even a weak T8 UVB long tube instead of a much stronger T5 UVB tube, the mesh will essentially ensure that he is basically getting no
UVB light at all. Also, any of the compact or coil UVB bulbs and the long T8 strength UVB tubes must not only be unobstructed by a mesh lid, but they also must be within 6" of your dragon's Basking Spot/Platform that is in the Hot Side of his tank in order for enough of the weak
UVB light to reach him. Any further away and the
UVB light will not reach him.
So essentially, all bearded dragons need and should have a long UVB tube, at least 18" or 24" long if not a 36" or 48" depending on how large an enclosure they are in, and it should be a T5 strength UVB tube, not a much weaker UVB tube. The T5 UVB tubes only need to be within 11" of his main Basking Spot/Platform on the Hot Side of his enclosure/tank, and the T5 UVB tubes only need to be replaced once ever 12 months, as opposed to the T8 UVB tubes and the compact or coil UVb bulbs, which must be replaced once every 6 months, as that's the age when they stop emitting any
UVB light at all, even though the tubes/bulbs will not be burnt out at 6 months or 12 months and will still light up, they will not be emitting any
UVB light at all.
Also, if you happen to be using a Coil
UVB bulb, not only are they too weak for a bearded dragon, but they all tend to cause serious eye issues/damage and can also cause neurological issues/damage, regardless of the brand or model. So if you happen to have a Coil
UVB bulb, that alone could cause seizures in addition to being far too weak to provide a bearded dragon with appropriate
UVB light.
As Tracie also mentioned, if he happened to eat an insect that was larger/wider than the space between his eyes, this can cause a number of serious health issues, one of them being seizures. You always have to make sure that any live insects you're feeding him are always smaller than the space between his eyes, so that he will not suffer from a seizure, choking, or a bowel impaction.