My methods are;
head gaskets always totally dry, other gaskets use a thin smear of grease on both surfaces, much the same idea as Raul, it allows the gasket to move easily as you tighten to do its job of sealing, 'O' rings either grease again or a little Hylomar.