From what I understood, ranking means backlinks. Backlinks are like votes to your website. The more backlinks, the higher you rank. But not so fast! Look at the quality of your backlinks. If you are building backlinks from poor or spam sites, it would just hurt your ranking. Be wise in choosing websites to link your sites to. I won't mention more methods since the one above me pretty much listed a lot, which I also do, actually.