If you are a permanent resident of the U.S. (not a conditional resident), your status does not expire -- you are a green card holder for life (or until you do something that causes your residence rights to be taken away, such as committing a crime or living for too long outside the U.S.).
However, the physical green card that proves your U.S. residence does expire, every ten years. When the expiration date on your green card is six months away, you will need to apply to renew it. If that date has already passed, apply as soon as possible.
Renewal Application Process
The application process requires filling out and submitting USCIS Form I-90. The form is available at your local USCIS office, by mail from 800-870-3676, or on the I-90 page of the USCIS website. You can also submit this form online, through the USCIS system known as ELIS -- though you will still have to mail in the supporting documentation, namely a copy of your green card.
In Part 2 of the form, check "A" or "B" in Question 1, and "F" in Question 2.
You will need to pay a fee for this application, which was $450 in early 2015 (but check the USCIS website for the latest fees). That amount includes an $85 fee for biometrics (fingerprinting, photographing, and the electronic capture of your signature). You will be called in for a biometrics appointment at a USCIS Application Support Center (ASC) some weeks after submitting your renewal application.
Your fingerprints will then be checked against an FBI database. If any crimes are found on your record that could make you deportable from the U.S., you could be placed in removal proceedings and lose your right to U.S. residence. See a lawyer if you have any concerns about the contents of your FBI record.
Form I-90 comes with a fairly complete set of instructions, and you can read more on the USCIS website.
Note that Form I-90 is also the one you would use if your green card was lost, stolen, or destroyed before the expiration date. See "Replacing Lost or Stolen Green Card" for more on this topic.
Alternative: File for U.S. Citizenship
If you are ready and eligible to apply for U.S. citizenship, you can submit the citizenship application instead of renewing the green card. USCIS does not mind if you carry around an expired green card once you have the N-400 application for naturalization on file. If you need to change jobs or travel outside the U.S., however, you will probably want to renew the green card, to prove to the rest of the world that you are still a permanent resident.
For more information on the naturalization process, see the articles under "How to Become a U.S. Citizen."
Why Can't Conditional Residents Use the Same Form?
If you are a conditional, not permanent resident of the U.S., the two-year expiration date shown on your card is more than a mere date upon which the card stops being valid -- it is the date on which your entire status in the U.S., and right to remain here, expires unless you take steps to do something about it. Two categories of green card applicants start out as conditional residents: spouses of U.S. citizens whose marriages were less than two years old at the time of their approval for U.S. residence or entry to the U.S. on an immigrant visa; and investors who gained their U.S. residence in category EB-5 of the visa system.
For details on the process of applying to convert from conditional to permanent resident status, see U.S. Immigration Made Easy, by Ilona Bray (Nolo).