Some types of visas may be extended. You may apply for extension of the duration of stay of your visa at a local public security authority at the county level and above before the expiration of your stay. Overstay will violate the law of China and will result in punishment.