Have a passport photo taken of yourself. You can do this at any nearby post office. Even if you already have a photo in your passport, you will need an additional one to apply for the visa.
Visit the nearest Chinese embassy and fill out a visa application.
Pay the application fee.
Return to the embassy in three to five days and your visa will be ready. You can save yourself a trip to the embassy and choose to have the visa mailed to you, but it will take up to three weeks to arrive.