I'm studying Spanish. When I hear or read a Spanish word I don't know, I look it up in the dictionary. Then I write the definition in my notebook. I also write the sentence I heard or saw the word in, as well as any examples the dictionary included. This helps me to understand the word when I review it later.
I also find that saying the word out loud and saying the sentences that contain the word out loud help me to remember the meaning. So does making new sentences that contain the word.
Writing the word down also helps me. Sometimes I write the word several times in a row. That sounds a bit strange, but it works for me, especially for difficult words. It's as if the physical act of writing the word "prints" it on my brain.
For words that I am having a lot of trouble remembering, I try to associate them with an English word I know and that sounds similar. I then try to form a picture in my mind (visualize it). For example, "caro" means "expensive" in Spanish, so when I see the word, I think of a Mercedes-Benz, which is an expensive "car."
Of course, speaking the language is the best way to learn it. That's why italki and similar sites are so helpful. You can find a partner, join a language group, or hire a tutor if you can afford it.
Finally, there are some words that I just simply have to keep reviewing and memorizing. There aren't any real shortcuts. With enough repetition, eventually, the word "clicks," and I remember it.
Please don't get discouraged. Learning a new language is not easy, and we all struggle at times. If you keep studying, though, I promise you that it will get easier. I wish you the best.