You really need to believe that you can do perform better at Mathematics. A subject that I used to dread in school became extremely likable in college.
A senior in my college changed my perception about Mathematics. He said, “ I find Maths orgasmic”

I found that hilarious and thought provoking at the same time. I made a conscious effort to pay attention in class, and try to get a hang of things. I started with the simplest of problems, which were the solved examples :D
I approached everyone whom I could to help me out. I started practising a few problems everyday.
Believe me, results show up very fast in mathematics. When I saw my progress, it motivated to keep going.
So yes, when I saw that my efforts were bearing fruits, I was motivated as hell to do well in mathematics.