Protein in the gym.
Whether you eat protein powder depends on whether you can get enough protein in your food. If you want to gain muscle, you need to ensure at least a protein of 1.2g/kg. You can calculate whether the food supplement is enough. If it is not enough, it is recommended to eat protein powder, but the best intake time of whey protein is after training.