Field theory for cosmology : an effective approach