If you are unable to pay rent, the first thing you can do is communicate with your landlord and reason with them to come up with an agreement. You can also offer to make a partial payment. If you can still not pay the rent after a couple of months, you can be asked to leave by the landlord and be given legal notice to vacate the place.