Which is the last stage in the life cycle of an average star

The last stage in the life cycle of an average star is the "white dwarf" phase. This is where the star has exhausted all its fuel and has collapsed in on itself, becoming incredibly dense. The star will no longer emit heat or light, and it will slowly cool down over billions of years.