failing a class🥲

I just wanna cry. I failed my Spanish 101 class. And I'm a senior and I need 2 Spanish to get into my dream school. I think I'm retaking Spanish again, this semester, but that will only be 1 Spanish. I made good grades on all tests and assignments but I miss one midterm and I fail the class. I'm so sad. I just wanna cry. idk what to do