Practice makes perfect! Practice math questions over and over again, with answers readily available. You can also generate worksheets coverings all math topics.
Why do you think that https://github.com/antoninhrlt/sdymh is a good alternative to mathpractice