Student loans have long repayment periods, and your score gets a boost from having a long credit history. Your payment history is also a big part of your credit score, so making loan payments on time every month helps you build credit. But if you default on your loans or make payments late, you could hurt your score.