How do I improve my credit history?

1- Pay bills on time.
2- Do not charge the maximum credit line on a credit card.