Depending on the terms of the lease and the laws in your state, you can move out, sign a new lease, or pay-as-you-go every month. If your landlord ends your lease early without cause, you can sue the landlord for costs associated with your housing searches like realtor fees and temporary housing until you find another permanent place to live.
If you were late on rent or significantly damaged the property, you may not be entitled to damages. In most cases, your landlord must send you written advance notice (usually 1-2 months in advance) before you have to leave the premises.