The most important part is being consistent where I found self study the most effective for me. It can take a long time but if you're devoted to it daily, you will see results no matter what. A good place to strengthen your beginning understanding is to read a grammar guide like Tae Kim's and slowly build up your vocabulary through something like Anki. Kaishi 1.5K is a popular Anki you might want to look into.
Once you nailed down basics, I highly recommend immersion study by consuming Japanese content you're interested in on a constant basis. This can be anything from just simple Twitter messages/news story to shows or games you might like. Here's a guide that might be helpful:
https://learnjapanese.moe/
Try to enjoy it as much as you can while learning the language, good luck~