I suggest you see your doctor and have some blood work done. Hypoglycemia is dangerous as you can faint from low blood sugar.
As well, it does not help you in the long run if you eat foods high in sugars, because you only feel the sugar highs for a bit, then your sugar levels rapidly drop, making you hypoglycemic.
Have a meal plan and follow the plan. You can consider seeing a dietitian for help with meal planning.
Your brain functions only on sugars, carbohydrates, and since these are short lasting, consider having something other than foods full of carbohydrates. Try some protein, as they produce more energy and last longer.
I hope this helps.