There were no stars, and there were no galaxies. After the Big Bang, the universe was like a hot soup of particles (i.e. protons, neutrons, and electrons). When the universe started cooling, the protons and neutrons began combining into ionized atoms of hydrogen and deuterium. Deuterium further fused into helium-4.