I’ve found no better technique than a language exchange partner. If you are learning Spanish, find a Spanish speaker trying to learn English. Meet up for an hour speaking English for 30 minutes and Spanish for 30 minutes. For me, this was the only way to put lessons into practice without the stress.
But it doesn't apply when it comes to unpopular(frankly speaking I am a Chinese and several years ago I tried my best to find a partner for English but failed) languages like Chinese.
Since friends will be hesitant to correct you when you make a mistake, I recommend iTalki (https://www.italki.com) as it is considerably less inexpensive than in-person lessons/practice.