If you follow the advice below, your chances of passing your math class will be much, much higher than if you don't. I know it may sound preachy, but doing these basic things really makes a difference for most students:
Attend each class meeting and arrive on time. There is nothing more valuable than being physically present in class. When you miss a class, you lose out on the opportunity to see new material being presented, take notes, interact with your instructor, ask questions, work with other students, etc.
Get help as soon as you need it. Ask questions when you have them in class. Go to your instructor's office hours or see a tutor as soon as you need help.
Keep up with the work. Because math topics build on each other, it's important to always keep up with the material. If you work on your homework every day, you'll be better prepared for the next day's material.
Form a study group! One of the best ways to make sure you're on track in your math class is to form a study group. You can rely on each other's strengths and help each other out when someone's struggling. Also, if you meet on a schedule, it'll help you hold yourself more accountable for the homework assignments.
Utilize a variety of resources. Often times students work on homework in isolation, and when they get stuck on a problem they give up quickly. But there are always plenty of resources available, even when you can't make it to a tutor. Reading the textbook, looking at the examples in the book, reviewing your notes, texting a classmate, and even doing Google and YouTube searches can often help you get past something that you're stuck on.
I have to be honest. One of the reasons that I was so successful in math classes in college and grad school is that I always formed study groups and became friends with my classmates. That way I always had friends to rely on any time I was struggling. And I encourage each and every one of my students to do the same.