For Nonpayment Cases: If you are a tenant and have received a demand from the landlord requesting overdue rent, you may simply pay the owed amount (however, your landlord may still be able to bring a holdover case). During court, the tenant may also request that the payment of rent not occur until after the landlord has made repairs on the apartment. The landlord may request that the payment of rent not be contingent on repairs in the following cases: where the tenant did not request the repairs be done until the nonpayment lawsuit was brought, if the tenant has denied the landlord access to make the repairs, or if the requested repairs are not violations of the Housing Maintenance Code. (See "Habitability and Repairs" and "Safety" in New York's Tenant's Rights Guide.)
For Holdover Cases: : A tenant without a lease (or whose lease has expired) may request to remain in their apartment for up to six months so long as they continue paying rent during that time. Whether or not a judge grants this request depends on the circumstances. At this point in the proceedings, you may wish to seek the advice of an experienced New York evictions lawyer, either to give you sound advice or to help you defend against the eviction.