Find a place you can move in, and give the landlord advanced notice to move out. You should still pay the rent till the date you move out. He should return your deposit after. If not, you can sue him in small claim court.