After the Sun reaches a point where it can no longer get bigger, it will lose its layers and form a planetary nebula. Eventually, the Sun will shrink into a white dwarf. Then, over several hundred billion or even a trillion years, the Sun would fade into a black dwarf.