One computer simulation that should give a general notion:
https://youtube.com/watch?v=4disyKG7XtU
Most stars and matter will become part of the fused galaxy, "Milkomeda" is one proposed name. Some will be flung int intergallactic space.
The Sun will have entered its white dwarf phase. Earth will either be a cinder, or have been subsumed by or possibly be nova ejecta of the Sun.