if a planet were to collide with another planet making a planet crash into the sun and the sun expanded due to collision what would happen?

in our solar system, not much

the largest planet (Jupiter) is only about 0.1% of the Sun's mass