When should I start studying for my CPA?

I am starting my MAcc in September, and will be working full time as well. I was wondering when should I start studying for my CPA? The program will take roughly 2 years approximately. Also when should I take the actual exam?