Getting out of a lease

My dad said to try and sublet the lease out. Aka find some one to take over your lease. If not push harder for the building inspector to find the house inhabitable. That or hurt your self on some faulty part of your house and sue