Our Sun
WhenEvent
5 to 4.6 billion years ago 10 billion years after the 'Big Bang'.
Our Sun was formed. It is still 91% H, 9% He (ratio 10/1) with all other elements contributing < 1%. Compression due to gravity raised the temperature above 15 million degrees Kelvin, whence the hydrogen to helium reaction could occur. The drop in mass is converted to thermal energy in the core, and some of this radiates outward, eventually leaving the sun.
Today High temperatures and high pressures overcome the electrical barrier to penetrating the nucleus. This enables 2 protons and 2 neutrons to form one helium nucleus. When this happens the helium nucleus has a lower mass than that of 2 hydrogen nuclei and 2 neutrons, and this mass deficit is released as energy according to the equation energy e = m.c2.

This decreases the volume, increases compression, increases temperature and brightness (luminosity), as well as the burning rate. Rate of energy production has increased by 30% over the last 4.5 billion years.

Core temperature is 15.7 million degrees. Surface temperature 58000K, with sunspots (dark spots) at 43000K.
1 billion years hence Our Sun reaches a maximum temperature just before consuming the last hydrogen. Still active, the Sun will expand, forming a diffuse gaseous cloud which cools from yellowish (surface temperature 58000K) to reddish (35000K). It expands enough to engulf the current Mars orbit (and our Earth).
  When all fuel is consumed, the Sun will cool and contract, becoming a white dwarf (typically of 8000 kilometers diameter) before fading into nothing.
Generic history of Suns
Suns begin the same way, from hydrogen, but their development differs according to their size. The main determinant is the Chandrasekhar limit SC = 1.4 times our Sun.

Smaller than the Chandrasekhar limit SC = 1.4 x our Sun
Only stars with a mass< 1.4 times our Sun collapse to form white dwarfs.

Our Sun was formed from 91% H, 9% He (a ratio 10/1 which is roughly the same today) with all other elements contributing < 1%. Compression due to gravity raised the temperature above 15 million degrees Kelvin. High temperatures and high pressures overcome the electrical barrier to penetrating the nucleus. This enables 2 protons and 2 neutrons to form one helium nucleus. When this happens the helium nucleus has a lower mass than that of 2 hydrogen nuclei and 2 neutrons, and this mass deficit is released as energy according to the equation energy e = m.c2.

This release of energy decreases the volume, increases compression, which in turn increases temperature and thus brightness (luminosity), as well as the burning rate.

Thus the rate of energy production in our Sun has increased by 30% over the last 4.5 billion years. Its core temperature is 15.7 million degrees, only 0.7 million degrees above the starting temperature for the H → He reaction. Our Sun's surface temperature is 58000K, with the sunspots (dark spots) at 43000K.

Our Sun will reach a maximum temperature just before consuming the last of its hydrogen. Still active, however, the Sun will expand to form a diffuse gaseous cloud which will cool from yellowish (surface temperature 58000K) to reddish (35000K). As it does so, it will expand enough to engulf the current Mars orbit (and our Earth).

After that it will collapse to form a white dwarf. A white dwarf consists of a nucleus of only atomic nuclei forming a central crystalline-like structure under (Fermi's) sea of electrons.

Greater than the Chandrasekhar limit SC = 1.4 x our Sun
Stars< 10*SC
These continue to collapse into neutron stars, rare extremely massive stars collapsing to black holes. The density of neutron stars is so great that the resulting gravity pulls all matter and radiation into itself. Since no radiation can escape this gravitational pull, we cannot see them. However, neutron stars do send a continuous stream of radiation which is amplified by the compression suffered as they shrink from Big Star to Neutron Star. This radiation streams only out of the poles of their very intense magnetic fields. Because their rotation of the magnetic poles around their geographic poles may line them up with the Earth only once each 1.4 second revolution, this radiation is received, if at all, as pulses. We therefore call these neutron stars, pulsars.

The density of a neutron star is equivalent to that of our Earth shrunk to 2.5 centimeters diameter or the Sun shrunk to 1.5 kilometers. (Remember each atom is mostly space with a tiny nucleus of protons and neutrons around which whiz electrons in orbit on top of orbit – the nucleus is like a pea inside a cathedral or a big mosque. Remove all the space by combining the protons and electrons into neutrons, and you have the density of a neutron star.)

Magnetars are stars with even greater magnetic fields than pulsars (Neutron Stars).

Big Stars, 10 - 40*SC
Big Stars, 10 - 40 times our Sun, have compression and heat cycles which raise core temperatures for increasingly shorter times, each stage producing heavier nuclei formed in onion-like layers:
H → He → C → Ne → O → Si → Fe
The conversion of Si to Fe, at billions of degrees, lasts only a day.

At the Fe stage, iron nuclei cannot find the energy to fuse into a denser element. Without energy the star collapses quickly under gravity. The core, larger than the Earth, collapses within seconds to the size of under 50 kilometers. Electrons and protons are squeezed together, each pair forming a neutron and neutrino. The neutrinos escape in a single 10 second burst (1039), carrying off 99% of the energy in the explosion (as much energy as our Sun releases in 1010 years). Thus the neutrinos act as a cooling agent. Effectively all the layers crash down then bounce outward, and lacking sufficient gravity, continue into space.

These explosions are the sole source of all Fe, Mg, S, C, O, Ne and all other elements except H, He, Li and Be. The Earth is made almost entirely of material produced inside these Big Stars and then shot into space by their explosion.

Supergiant Stars
These are the biggest and brightest, (Rigel and Betelgeuse in Orion, antares in Scorpio and Cepheid variable stars).

Supernova
Supernova are stars which have exploded violently, thus brightening temporarily to an absolute magnitude of about -15, some 100 times the luminosity of ordinary nova. The explosion may annihilate the star, ejecting heavy elements, or eject the external layer, while the core collapses to form a neutron star or, if extremely massive, collapse completely to a black hole.
Our Sun
The Sun's sunspot activity occurs in fairly regular cycles with the number of sunspots in a given period, peaking every 11 years (1990-, 2000, and the next one about 2011 anticipated). Sunspots tend to cluster. Clusters tends to last about 2 weeks but with a range of up to months.

In a sunspot there is a central umbra, with the most intense magnetic field (0.2-0.4 tesla) almost preventing convection. This umbra is surrounded by the penumbra where the magnetic field is more horizontal, allowing a radial flow of material. Thus temperatures are about 4000K in the umbra, 5600K in the penumbra and 6000K outside.

Great sunspot activity increases the solar particles reaching Earth, these being drawn along the Earth's magnetic field lines parallel to the planet's surface. Still following the magnetic lines of force to the Magnetic Poles, the solar particles come spiralling down, causing the aurora (borealis in the north,australis in the south).