Rent Apart / Questions

I am trying to find out if I rent an apartment for one year and before the year for any reason I have to move from that apartment, What will happen? Do I have to pay the rest of the year or how that work???

I am not an expert in real property law or landlord/tenant law, but it has been my experience that usually, the penalties for breaking a lease are contained in the rental agreement.