This may seem quite obvious but study! Math is said to be one of the hardest subjects, in middle, high school, and college. Thus, it is very important you are good at it; considering it will be essential in many cases in life. I'd suggest:
Doing your homework and assignments
Try some practice problems so you could get the gist of what is being asked of in the question
Try some online tests, quizzes, or lessons
Here's a tip:
Ask for help if you need it! It is important that you really understand everything, every little detail matters. Good luck!