Work extremely slowly, possibly with a tutor through Principles of Mathematical Analysis by Rudin. The book lays down the real foundations of calculus and higher math. Learn the math as you come to it. Dont waste time going extensively through lower mathematics. You will get bored and life is too short for that.