how to do algebra homework in a easy way?

do lots of exercises of increasing difficulty. Then when a test comes along, the problems will be a cinch.