You might not like my advice at first but I am going to be honest.
The first piece of advice I have is to put in more effort/be proactive. Yes it would be nice if you had better teachers (or possibly teachers whose teaching style fit better with your learning style), however, it's possible to succeed despite that. I had to teach myself physics during my senior year of HS, because my teacher was new to teaching physics and honestly not that great at it. Read the textbook outside of class, find other resources (e.g. for math and science, Khan Academy), meet with your teacher outside of class to go over specific questions (my physics teacher was actually really good at explaining stuff one-on-one, I just think physics is really hard to teach to a group honestly), do a ton of practice problems, form a study group with friends, ask classmates who do well in these classes for advice on how they study and approach the material, try out new study skills (look online for tips), get a tutor if possible/needed, etc. I mean, yeah it sucks that you have to be looking outside the classroom at this stage of your education but on the other hand, you will definitely be teaching yourself stuff in med school and beyond so if that is your goal, just think of it as early practice and exploration of your study skills and learning methods. And once you think about it, there are honestly lots of ways to improve your knowledge and skill at the subjects you are having a hard time with, so I want to encourage you that it's not the end of the world and you can figure it out! I would start small, maybe with the subject you are having the most trouble with, and then try to apply the skills/resources/techniques you learn to your other classes.
The second thing I would say is to change your attitude. Be kind to yourself and think positive. Instead of thinking that you are bad at learning new languages, think to yourself that you can rise to the challenge and prove yourself wrong. Instead of thinking that you hate literature, try to find a small thing you like about the class, or even just remind yourself that while you don't love it you do need this class for college. It might sound cheesy, but in my experience, thinking positively about your capabilities and classes will help you get that internal motivation and determination to succeed.
Finally, one bad semester is not going to tank your application for college. Neither will a cumulative GPA <4.0. It may just be that at this stage of high school, you are going through an adjustment period where the level of work expected just got ramped up and you weren't prepared for that. It happens to a lot of people either during high school or college, so don't feel bad. If you are able to improve even some of your grades, you will become an overall better student for it!