Keep practicing. There are two key aspects to math thinking and you need them both - the first is procedural fluency and the second is conceptual understanding. Figure out which one can be improved for you.

Procedural knowledge is knowing what to do and fluency is doing it quickly, so make sure you know the relationships between variable, which operations you’re going to use and when. If this is quicker you’ll make rapid decisions about how to tackle a problem and complete it quicker. Being able to recall your addition, subtraction, multiplication, division facts etc really well is key.

Conceptual understanding is having a solid understanding of the topics and being able to identify what questions are asking, relationships between concepts and being able to make decisions about relevant and non relevant information. If you get to questions that stump you for a bit, practice many questions that ask you to do different parts of the problem (for ex. In trig operations you need to understand the relationship between sine, cos, tan and what formulas you can use to find out tan if you only have the information for cow or sine for example.

Good luck!