How do doctors decide if a cut need stitches?

Judgement. Length, depth, location, and age of patient.
Length and depth. The decision to close a cut with stitches is primarily based on the length and depth of the wound. There are other important factors such as how the wound occurred and presence of infection.