Its DNA, i.e. nucleus is in charge of it. If the cell works inside of a multicellular organism, it will only divide if more cells are necessary. (If growth is happening or cells are killed). In a single-celled organism, it will divide as much as possible unless negative exterior forces are acting upon it.