Universe grows and cools until 100 seconds after the Big Bang. The temperature is 1 billion degrees, 109 K. Electrons and positrons annihilate to make more photons, while protons and neutrons combine to make deuterons. Almost all of the deuterons combine to make helium.
Hope this helped.