The most important factor is fun
Learning to speak and write mandarin can be done in many different ways. Most good ways involve going to China, the only country in the world where you actually need to use the language to get understood. Like any other language, and any other learning process, for that matter, practice is the key to success and being in China is pretty much a pre requisite for learning Mandarin.