how do i ace math class

Pay attention.

Do as many practice problems as you can a night.

If you do not understand a certain math concept, ask for help.

Practice, study and repeat as needed.