what to eat and when

Options
i am not sure if i should eat before or after i work out or both. tor what to eat. and on a different note i get hunger headaches and a growling stomach in the middle of night what should i do?