Should I Even Consider Medical School? Low GPA

I have dealt with insecurities and self-doubt my entire life. I never really confronted these issues and so they’ve negatively affected virtually all aspects of my life. My education is the most obvious indication of this. I started at a community college because I got rejected from the schools I applied to in high school. I started CC determined to get straight A’s and transfer as quickly as I could. I was ready to transfer as a psychology major with a 3.8 GPA, but I decided to change to biopsychology. This major requires STEM classes and that’s when it all went downhill. My GPA is now at a 3.36 with my science GPA at a 2.71. My lowest grades are in chemistry. I have straight C’s for every chemistry course I’ve taken. I have 5 more STEM classes to take before I transfer so I can bring up my science GPA but it still won’t be very high. Since I started at CC, I have already taken most of the prerequisites medical schools require at the CC (general chemistry, math, physics, biology). I am transferring to UC Davis as a psychology major because I am ineligible for neurobiology, my preferred major. Here’s a list of my grades:

Introduction to Chemistry: C
General Chemistry I: C
General Chemistry II: D, retook and got a C

Principles of Biology 1 (Molecular and Cellular Biology): B

Calculus I: D, retook and got a B
Calculus II: A
Calculus III: B

Physics for Scientists and Engineers I: C

I still have to take these before transferring (I plan to boost my science GPA with these):
Organic Chemistry I and II
Physics for Scientists and Engineers II and III
Principles of Biology 2 (Diversity and Ecology)

Here are my questions:

Can I retake some of these classes once I transfer? If so, will medical schools take my second attempt grades into consideration? As I said, these classes are the prerequisites I need for medical school so I don’t think I stand a chance if I were to apply with those grades, especially my chemistry series.

Should I even look into medical schools or should I consider pursuing something else? I ultimately want to be a forensic pathologist.

I was doing so well and that first C in chemistry really brought me down. I believe that if I weren’t so insecure in myself I could have overcome that and done so much better. I am in no way trying to justify my poor grades, but I do believe that I should have resolved my own issues before going into STEM classes.

I would appreciate honest feedback from anyone.
Thank you if you took the time to read this and I hope to hear from someone.

Yes medical schools will consider your repeat grades. But they won’t be erased, instead I believe the grades are averaged into your total GPA.

But you need to have an honest assessment. If you are having this much trouble in the first two years of college what do you think will happen when you start medical school? The pace and rigor of classes is exponentially more demanding.

Have you thought about other fields within medicine? Getting in with your grades will be very difficult.