I've started a story, but I find that I have a lot of worldbuilding and lore creation to do for the story to be fully fleshed-out. However, I've seen that you should not get lost in worldbuilding too much, as it can keep you from writing altogether.
How much do you invest in worldbuilding and establishing necessary lore before you write? Or do you just create what you need as you write and the need arises?
