With German, I practice writing. At the start, I picked words I came across and used them in my own sentences. These sentences did not necessarily have to be joined by thought. They could be their own thought, without anything else connected to them.
Later, I started writing poetry. This time, one sentence was connected to others, which reinforced using certain parts of speech and grammar. I keep a German - English dictionary near me when I write.