do one's time

idiom

Definition of do one's time

: to serve the number of months or years that is required of someone in the military or a prisoner sometimes used figuratively I've done my time at that terrible job, and now it's time to move on.