If you haven’t eaten protein in the three to four hours preceding your workout, then it’s a good idea to eat 30 to 40 grams before you train. If you have eaten protein in the last few hours, though, then you don’t need to eat more. You can just eat after your workout.