There are 3 main factors.

1. On page SEO
2. Links
3. PPC and other marketing efforts.