In many different ways; a more detailed scenario is needed for us to give a more specific answer.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day