This question already has an answer here:
When I was studying thermodynamics potentials for the first time, I learned that keeping the pressure and the temperature constant, the Gibbs Free Energy is a minimum, also, if we maintain the temperature and the volume of a given system constant, the Helmholtz energy will be a minimum. However, when I was studying Landau theory, I was confused if one should minimize the gibbs free energy or the helmholtz free energy. For example, in the Ising Model, one expands the Free Energy and the applies landau theory. However, we need to expand the Gibbs Free Energy in the liquid-gas transition.