Ugh, the numbers game.
First off, 38 out of 603 puts you in the top 10%, which is great, actually. So don’t worry about that ranking.
Second, everyone is bad at something. For me, it was physics and organic chemistry. For you, it’s math. So what? Yes, there’s a little bit of math required to be pre-med, but there’s very little math on the MCAT and very little in actual medical school. So don’t let one shaky class keep you from trying to achieve your goal. If you want to be pre-med, be pre-med. Don’t set set yourself up to lose before you even start playing, though.