I’m a high school student, what happens when I give birth in the middle of the school year?

ka

Will I get like a maternity leave and allowed to only do online school for 3-5 weeks? I got to a alternative school that’s all online