Maternity leave in Ontario

Looking for anyone who lives in Ontario who is familiar with how maternity leave works?! The only ones I know who have kids weren’t working when they had their littles, so I don’t know anything about mat leave. TIA! I should add that I’ve been working at the same job full time for 4 years now so all I know is that I will qualify for mat leave