Generally, a politician gets two chances. I can’t think of any president who won on a third or later try.
Reagan.
Reagan ran for president in 1968, 1976, and 1980.