Be aware of learning from books, online courses etc. initially I put in loads of effort and time and did very well with various courses and books, did loads of tests and exams and passed OK but I couldn't speak French after all of that time and effort. I spent another 3-4 years actively teyingt o learn French through speaking, the process was much harder and slower and I improved incredibly slowly but at least I was actually speaking French, communicating, taking part in conversations.
Learning intricacies of gender inflections of the part-participle on certain irregular compound verbs was not conductive to communicating naturally, despite being a requirement to pass a certain language grade.
I initially approached learning a natural language in the same way I learn computer languages, and I know loads of programming languages and have no issues leRning new ones. Natural languages are completely different, far more complex, far greater lexicon and volcbabulalry, largely irregular and above all else is spoken, in various different accents, at high speed, and requires a real time response. Learning rules and volcab from a just doesn't work in the real world.
Much more effective was just trying to listen, speak, and communicate. Not know the word for something would screw me up and block any kind of response, I would always consciously translate from French to English, then think of my response in English, then actively translate the English response to French, then speak it. This was disastrous, you need to start to think in French, don't do a translation, rend immediately like you do knew glisten when you don't even know what or how exactly you will say it. It took a long time to get to this stage, I only just go t here before I left and it wouldn't always happen, but you know when you get to that stage because you will start dreaming in French and you can have your inner-monologue in French or English, thus avoiding the explicit translation step. Your brain just develops a switch and you just switch between different language modes, you don't maintain an English monologue and actively translate things.
Lastly, different people have different analogies to learn languages. I was pretty terrible, spent 5 years in a French speaking country, lived with French speaking flat mates, never made freinds with a single native English speak, never hung out with native English speakers, did loads of lessons and courses, had many professional classes, practiced almost everyday for an hour (30 min on train to and from work). After 5 years I was still pretty hopefless, he hike some friend picked up better French in few months and were fluent in a year.