I failed my Calc One Class

I'm currently a sophomore (Computer Sci Major) going into his spring semester in January and I just got my final grade report. I passed every class all except for Calc One. My final fucking grade was a fucking D. I wasn't to surprised but was still since I did fail a test but studied a fair bit for the final.

As a now spring sophomore I'll be so fucking behind since I have to retake the class, and I will need to probably take summer classes. I used to be a good student and never since 7th grade, I got lower than a "C" or "B". I just don't know....

Edit: I talked with my advisor and she said D is passing but I might not be able to transfer in my junior year. Also, I'm able to retake the class AFTER passing calculus two.