The best advice is to do what others have suggested, get a tutor and do anything else possible to pass the class. However if you do not pass the class then there is nothing automatic about retaking the class. The most likely result is your admission is revoked unless you work with admissions to modify your conditions of admission.
I think you should reach out to admissions now although of course you need to do your best to pass the class. The admissions office is there to help, they’re not going to cancel your admission because you called them. As they wrote in the UC Davis alumni magazine a few years ago