So once the Sun has eaten up the planets, it will then collapse. It will still weigh a huge amount, but it will be about the size of Earth. After this phase it will be called a white dwarf.