Cause of keywords / website ranking

Explain to me the cause of the keywords / website ranking in the search engine? How to maintain constant traffic on a website

Android Application Development Hyderabad |
Chat app for Android / iOS