It’s a good idea to wait until the end of your tenancy agreement before you consider taking your landlord to court. If your landlord has not protected your deposit properly or given you the prescribed information in the right time period, then it should be difficult for them to evict you with a section 21 notice (this is an eviction notice for tenants).