If you would like to continue to have the right to stay in Germany after your residence permit expires, you can apply for an extension of your residence permit.