When you move into an apartment, do you need to pay the security deposit at the same time?

Gabriela • First time mom. 23. Due 06.26.17

Or do you pay the rent after one month of living there??

Im soo confused. Thanks!