You should document your complaints to the landlord in writing, and keep a copy with proof of delivery. You also must continue to pay your rent to avoid eviction. There is a process for depositing the rent with the Housing Court if there is a dispute over how much is owed, or if there should be any reduction. Contact the Housing Court in your community. If there is not a specific housing court, you should contact the Municipal Court. They should be able to explain the process and how to file to protect your rights. If you suffer an injury or illness, and can prove it is from the defective condition, you should consult with a qualified personal injury lawyer. There is a non-profit group called Housing Advocates that may be willing to help with this kind of problem.