The factors behind a score and what you can control.

A credit score is a number, commonly on a scale of 300 to 850, that estimates how likely you are to repay borrowed money. Lenders use it with other information to decide whether to approve you and at what rate.
Scoring models such as FICO weigh payment history most heavily, followed by amounts owed, length of credit history, new credit, and credit mix. Exact weights vary by model.
Paying on time, keeping balances low compared with your limits, and avoiding unnecessary new applications are the habits that matter most over time.
You are entitled to free credit reports from each of the three nationwide bureaus through AnnualCreditReport.com. Review them for errors and dispute anything that is wrong.