What type of debts affect your credit score and how?

What type of debts affect your credit score and how?