If it's two to three hours prior, I would recommend complex carbs and some protein. If it's anywhere from an hour to less than an hour, I would recommend sticking to simple carbs. These can something break down into energy while you're exercising and won't be so heavy on the stomach.