Ladies help

So I have been dealing with a lot of stress at work and my manager makes it no better she constantly gets on me about anything when I literally do my job better than half the people she has in our company however she treats me the same way she treated the last supervisor that quit and it’s not fair on top of that I’m 8 months pregnant and she wants Me to be in here ripping and running and working 9/10 hour shifts which I use to but now it’s harder for me so now my doctor is like when u are ready to take leave you can leave and so now I’m like should I go ahead and put in for leave I’m new to this because with my son I literally worked up until 2 days before I had him

Ladies would you go ahead and take leave ?