Eat healthy food and wait for at least 2 hours after a workout, and then eat. It is preferable to eat after 1 or two hours. But you should follow your body signals more,
How Soon After My Workout Should I Eat, and What’s the Best Thing to Eat After I Train?
Your Muscle Shop