Yes learn the vocab, but also learn the grammar: sentence structure, word endings, etc etc.
Practice all of the four areas: speaking, writing, reading and listening.
If you just sit there and force yourself to write everything you know, it might help to target your weaknesses too.