In fact, math is not as difficult as you think. Just think it over. You may have problems with the way you learn. Here are my ideas.
First, you should try to get everything ready before class and write down the difficult points in the new lessons.
Then, it’s best to listen carefully when you’re in class. It can help you understand the lesson better. Don’t forget to take notes if necessary.
Besides, you’d better review the lesson after class and try to do some exercises. No pain, no gain. If you keep trying, you will soon make great progress. Good luck.