You’ll need to apply for a visa before arriving in China. Contact your nearest Chinese embassy for details, as requirements vary by country.