What is the meaning of [revenge is a dish best eaten cold]

Vengeance is often more satisfying if it is exacted some time after the original offense; said when a wrong cannot be immediately avenged, or used to discourage somebody from retaliating in the heat of the moment