the main answer depends more on the athlete and the specific activity
Get a combination of the protein and carbs in your body 1 to 3 hours pre-workout and within approximately 1 hour post-workout.