Contact starts 27th September

Hi there
I’m about to sign contract but the agreement starts end of September. When I must pay the deposit and first Month rent?
Ist right to pay direct to the landlord?!!!
Please help