So if you really think math is painful for you, give it up. There is nothing you can't help with your study.
If you want to know how to learn math well, it's easier to do it one by one. You don't have to keep up with the teacher. Doing math problems by yourself is actually quite interesting, because it will bring you a sense of accomplishment. Study at your pace, you may not do well in the exam now, but the scope of mathematics before the college entrance examination is too small. It's too easy to get a good grade in the college entrance examination as long as you follow the steps step by step.
I have a classmate in high school. Every day after class, he takes out a topic to do. His scores in every exam are above 140. I like his realm very much.