Your credit score is a mathematical algorithm calculated to weigh your credit risk: how likely you are to default on your payments.
It takes into account your payment history, outstanding debts, available credit, length of history on your credit accounts, types of credit and inquiries.
Your Payment History
If you haven't paid your debts in the past, you'll get a negative mark on your credit report. These can damage your score depending on their severity: