I got two Ds my junior year what do I do?!

I’m freaking out because I got two Ds my junior year my first semester. I got a D in APUSH and a D in Pre-Calc/Trig Honors. I found out earlier first semester that my dad has stage 4 stomach cancer, and my grades plummeted. I brought them up a little bit towards the end but still ended up with two Ds. I don’t know what to do. I do three sports so that adds onto my struggles. My mom is going to rip my face off and I don’t know what to do. Help me please!!

Can you retake these classes during summer school or possibly at your local community college? If not you may have to retake these classes your senior year.