If the frame of reference is attached to the Sun, then Sun will behave as the stationary object.
The other objects moving with the respect to the Sun are observed to move concerning the Sun.
Thus, the Sun is the stationary object and the planets are the objects in motion.