There are two phases. Getting to A2, where you’ve learned all the grammar rules and have a starter vocab… and then everything else, which is basically grinding the hours and convincing your brain that this is worth changing to remember.
Getting to A2 is what Duolingo and similar are great for.
After that you need to grind the hours. When you have limited time, the best ways are swapping things you already do with something in the target language. Switch your audio track on Netflix, make a separate TikTok account where you only follow people in the target language, at some point, switch your phone so that you have to talk to Siri in your target language, and then finally, sign up with a teacher (online or in person) for speaking practice at least once a week. The social pressure of trying to communicate with a real person and not being able to will make your brain take the rest of the exposure seriously enough to start rewiring what needs to be rewired.