The H1B visa permits you to live and work in the United States for up to three years and is renewable for an additional 3 years.
Depending upon the continuing viability of the job offer relevant to the I-140 you may be eligible to adjust status to obtain a green card.
You should have an immigration attorney review the viability of the I-140 case and to discuss your best options.
Best of luck,
Peter J. Loughlin, Esq.
Goldman & Loughlin, PLLC
4100 Corporate Sq., Suite 163
Naples, FL 34104
Representing Clients in All 50 States
Note: The above answer is provided for informational use only and should not be construed as legal advice or legal opinion. One should not act or refrain to act solely based on the information provided. No attorney client relationship is created unless a retainer is signed by the attorney and the client.