I think it really depends on the type of exercise you’ll be performing. If you’re trying to lose weight, you need to be in a calorie deficit, making the timing of your meals and snacks crucial. According to an article done by the American Diabetes Association, “exercising on an empty stomach can help you burn more body fat for fuel,” and if you are planning on eating something before working out, choose a light meal/snack like fruit and protein, or yogurt.
They recommend eating AFTER high-intensity workouts, like weight lifting, endurance training, or any sort of intense exercise performed for longer than one hour. If you don’t eat enough afterwards, you run the risk of overeating later, not replenishing glucose, and depriving your muscles of amino acids.
Overall, it really depends on the type of workout you do that will determine when and what you eat before or after exercising.
https://diabetes.org/health-wellness/fitness/eating-tips-before-after-exercise