If the mass of the sun were to increase, its gravitational pull would be stronger, and the planets would be drawn closer to it. If its mass were to decrease, its gravitational pull would be weaker and the planets would drift father away.
I hope this helps!
Have a nice day!
:)