School...

I am 15 years old turning 16 in April. I just found out I'm 6 weeks pregnant.. I've thought about doing online school but not sure how that works? Any help would be great!