What happens if you break a lease?

Me and my now ex have an apartment together and have decided to go our separate ways. My apartment place said I can break it if we both sign stating so. Does this affect me later? If I try to find another place etc?
What happens if you break a lease?
Post Opinion