It's boring, but if you're just learning, do a lot of fundamental work to build a good base. Work on making sure your hand position is good, fingers are set right, and string muting on open strings your aren't playing. The string muting is probably going to be more difficult early on, but it's good to at least be aware of it.
Practice scales to a metronome. You don't have to know the notes necessarily, but memorizing the shapes will be beneficial going forward. For me, it made learning new music more intuitive because you start to inherently understand how notes are connected so it's more organic when playing something new. If you want to start learning the notes, I'd say first get a grasp on the shapes, then when comfortable with that, start saying the notes out loud, even if it's slow. Eventually it'll start clicking and you'll start to recognize other patterns on the fret board like intervals.
When I first learned bass many years ago, I just learned songs and that's fun. Years later I went back and focused on fundamentals and even just a few weeks of that paid dividends going forward. I found I had to think a lot less because things were just more natural having been ingrained and everything got a lot cleaner once I was doing it properly.
But with all that said, that stuff is boring, so find some tunes and learn them. If you don't enjoy playing because you're just running scales, you won't keep playing, so pepper in some fun stuff.