One should, of course, learn its rules and learn them very well, but to actually learn to use a foreign language - be it English or any other language - it's important to use it. Use it as often as possible. Speak in it, write in it, think in it. Try to communicate with native speakers when possible. Watch and read media in that language and pay attention to the way it is used.