If you practice speaking your target language at every opportunity, you will definitely learn. The more people you speak to, the better. But at first, it will be extremely beneficial to find one or two patient and dedicated conversation partners willing to endure some beginner level conversations with you (iTalki and HelloTalk are great resources for finding conversation partners if you don't already know a native speaker. More about these in the resources section).
At first, your conversations might be mostly one sided, and that's okay. Your partner may do 99% of the talking. They will have to use lots of gestures, facial expressions, pointing, acting out, and possibly props or pictures. All this will help you get the message behind what they're saying even if you don't understand all the words. They should also ask simple questions. This will give you a chance to engage in the conversation, although your responses will be limited at first. As time goes on, your part of the conversation should grow until you both do about 50% of the talking.
Remember, most people have wrong ideas about how to learn languages. Many well-meaning people who want to help you learn will lead you down the wrong path. It is your job to let them know what you want. Once you find a conversation partner, make sure they understands how to do conversation practice right. If your partner switches to English, or tries to teach you, remind them that you are looking for a conversation, NOT a class.
The video below outlines this exact process in great detail.