When I personally have nothing to write about, I just don't write.
It's not for a lack of trying but I have a bunch of drafts that even I can tell are super half-assed simply because I tried to force my muse under constant whiplash to come up with something.
It's not going to happen. So I simply focus on other parts of my life and sure enough, I find inspiration in places where I haven't been looking.
I learned to not force myself to write something just for the sake of writing. Because writing like that is not fun at all. And I would bet that reading such a story won't be fun either.
I could force myself to cook a meal with the last scraps I can find in the kitchen. But I'm not sure whether you'd want to eat that. 😂