Atmospheric science. How was early Earth kept warm?

Atmospheric science. How was early Earth kept warm?