Many things go up to make your credit score so their is no real answer to your question. Generally though the longer you have lived at the same address, held a job, been with the same bank help to add to your score as does well maintained credit, owning your own home, age, salary etc.
You will not score highly if you rent, don't work or have missed payment or have lots of credit
cerbius