Rent Contract Notice and Protection
There are certain periods of notice valid for tenants. These are defined in the rent contract or in the rent laws. Open-ended rent contracts usually have a period of notice of three months. The landlord cannot cancel the rent contract without a reason. This is referred to as "Mieterschutz" in German. If a conflict arises with your landlord, contact a lawyer or a tenant protection association.