The best way to learn a new language is to have lots and lots of exposure to it. Ideally you would go and live for a time somewhere that the language is spoken. But if you can't do that, modern technology makes it far easier than ever before to get lots of practice in another language - particularly for major languages like Spanish, French, German and Japanese.