what do you eat pre and post workout and how soon before?

Thanks, just looking for some suggestions. Is it best to eat protein right after workout? I am assuming yes to help build muscle or repair??
Thanks.