Doctor JD, work hard and get the best grades you can from now on and you'll be fine, particularly since you have quite a few years to show that was a fluke. Not everyone starts out with all pistons firing. It sounds like you ran into some technical glitches and handled it poorly. It happens. You learned from it. It won't keep you from med school.
As an aside and to help you for the future, don't expect professors to go over what is due and when it's due. In college, it's written on the syllabus and the professor often won't refer to it again. It's a change from high school, so some new college students have trouble with this. Both of my parents are college professors and have seen a huge increase recently in students complaining that they didn't know that an assignment is due when it's written clearly in the syllabus. It doesn't help that some professors, particularly at community colleges, are starting to treat college more like high school. So when a student gets a college professor that treats college like college, they're unprepared, but through no fault of their own. This may not have been your exact situation so I'm not calling you out or anything, but it's something important to keep in mind as you continue this journey! It will at least win you some brownie points with professors who are tired of having to deal with this with the masses