Maternity leave soon

So when I file for my leave, do I get the money right away? Or how many weeks will it take to process etc? Just need to know because my work is lagging on responding back to me and I need to plan out all my bills etc. thank you!