Whenever we try to solve problems in mathematics, and we get stuck on an issue we try again and again for this problem but don't get the solution then we stop trying to solve further questions, so please don't go in this way when you work for a problem in mathematics it always makes trouble for you.
Please go in the following manner as I describe below:-
Whenever you got stuck on a problem, then try it once and move on to next one without trying it so much because it demotivates your potential to practice for a long time, moving in this manner complete the exercise and then again come on that one and try it. I am sure in the next attempt you can solve it more wisely.
Note: Please listen to a song of your interest while solving a problem only only only for mathematics, it will make your practice duration long without any discomfort. ( it works in my case).