Getting indexed is relatively easy, ranking highly for your keywords is something that will take time, and requires quality content which generates natural inbound links. In other words, it generally takes time, unless the keywords that you are referring to are obscure and not searched for, in which case it can be relatively easy.