when you eat something your body must process it. you use up 50% of your energy during the day digesting food
so... and this might be hard at first.. but don't eat before a workout. just make sure you are hydrated. you will have tons of energy doing that.. then you can eat AFTER