The H1B visa is a dual-intent visa, which means that those who hold it are eligible for permanent residency by applying for a green card. If you are interested in staying in the US, you should start the process of applying for your green card sooner rather than later.
source