How much time do you get to repay a loan?

depends on the length of the loan. at what you have arranged with your bank, or loan angency