I'm lost

a friend I practice with is a high diamond terran, he said that i should always go pool first in ZvP ZvZ ZvT, this is not the case, and i should hatch first vT?