You are going to have to take more math aren't you? Do you feel that you would be able to move up to the next course with what you have learned in this one, or do you think you won't be prepared for that? That is the question you need to address.
If you know that you are going to need a re-do so you are ready, then find out if you still can drop the class and have it recorded as W Passing, rather than W Failing or an F.
If you feel that you are going to be able to continue into the next course, then talk this over with your advisor. One C may not be that big a deal depending on where it is you plan to transfer, and it may make your life easier to just hang in there through the end of the semester.