What will be the dynamics of the system if its mass is varying?

What will be the effect on dynamic system if mass is added or removed?