I am so stressed out.

For quick background info, I am a biology major currently attending a community college in hopes to transfer to UCSD, and then on to dental school. I am currently in a pre calculus class and I am not doing good in the class due to personal problems. I probably can pass with a “C”, and at the very best I can get a “B” at this point. Should I drop the class and take a “W”, and retake it, or just take a “C” ,or possibly a “B”. I am a student, and I know I can get “A’s” in my future math classes. I would like to know what you guys think and also how would dental schools feel if I got a “C”, possibly a “B” in pre calculus, but A’s in all my other math classes to come.