Getting from Earth to Mars requires a fast rocket ship, good timing, and good aim. Even with those variables accounted for, a trip takes approximately eight months.
Courtesy of NASA-JPL