Concerned About My GPA!

I’m currently a freshmen in the business school. I foolishly took CS111, this semester, because I wanted to initially change my major to CS, at first it was fun and I understood most of it. But after the first midterm everything became extremely hard to understand, and I fell behind with understanding the code. This effected my second mid term score drastically, resulting in me failing it. Now I’m concerned about the final, because it is supposed to be harder. I think I’m in risk of failing or at the most getting a C. On top of that the profs said there won’t be a curve this semester, IDK why. I’m just concerned that if I fail this class or even get a C it will kill my 3.5 GPA, and it would be extremely difficult for me to get a job in the future or a good internship! Please help I really am panicking. I get really worked up about these kinds of stuff. I really don’t know what to do, or who to turn to. I really feel stressed and overwhelmed.