By that time earth will be no more:c, but just to answer your question, it will eventually become a black dwarf.
After the sun runs out of fuel is will become a white dwarf, a neutron star, or a black hole.
first red giant then white dwarf ultimately DEAD
we would die
The Sun will go supernova and destroy the Milky Way. But fear not, this won't happen for another 5 billion years. Humanity will probably kill itself off before the Sun dies.
The sun is burning gasses just like the stars. And just like any star, when the gas runs out, it will stop burning and disappear.
When the sun runs out of fuel it is expected to turn into a red supergiant engulfing earth. Then it is supposed to shrink into a white dwarf.
I am pretty sure they have a reserve fuel tank.
That would be "Procyon". Since its mass is only about 1.5 times the mass of our Sun, I would expect it to become a white dwarf.
Billions
none it runs from the sun
we will die
Such a star will first have a supernova explosion, due to instability in the nucleus. Then it will most likely turn into a black hole.