A 30-year mortgage has a lower payment than a 15-year one for the same amount, but you pay interest on a larger balance for twice as long, and 15-year loans usually come with lower rates too. The same trade-off applies to 72- and 84-month car loans.
The right term is the shortest one whose payment fits comfortably in your budget, with room left for savings and emergencies. A longer term with voluntary extra payments keeps flexibility if money gets tight.