Apply for compensation for your right of residence in time!
Check that you still have right of residence left. When your right of residence is coming to and end, your tenancy agreement will be discontinued - if needed, apply for compensation for your right of residence in time!
Your right of residence may be compensated, for instance, if you have participated in a student exchange, completed military service, or taken parental leave.