I’m failing high school 🤦‍♀️

Ok so I didn’t pass most my classes and didn’t take my freshman or sophomore year that serious so now my school is telling me if I don’t pass I have two choices 1 stay in school until I turn 21 and they kick me out or 2 drop out I’m trying to take online courses over the summer but it may not be enough when I go back to school August 26 any advice on what I should do