I'm going to take a guess and say that the number one thing that holds people back with their music is that the don't continue at it because they don't "feel like it." Maybe that's mood, energy or time, but you can still move forward if you want to.
Though music is a very creative thing, you won't be or feel creative all the time. So just because you're "not feeling it" doesn't mean you should do nothing (although sometimes a short break is necessary).
Yes, it can definitely seem daunting to look at a blank screen and expect music to come out, after a long day at work at a job you may or may not like. So don't do that. Don't sit there in front of your computer "trying to make music."
Do something else..
What?
There's tons of things you can do to progress.
Make some samples. If you have some vinyl and a turntable this is a rather thoughtless. The most thinking you'll do is choosing a record to sample. And that's it. Just start recording some vinyl samples - you can organize them later. Have fun with this for now.
If you don't have a turntable, chop slices out of your favorite tracks. Do not be sampling from YouTube, I assume people here are not bottom feeders who pirate music. Make samples from your own digital library then.
You could learn how to program a synth.
You could watch a tutorial on mixing, EQ, or compression.
Learn some music theory, some theory, it's not necessary to learn all the scales and chords in all keys. Pick one scale and learn the notes and chords.
A Minor is used a lot and it's all the white keys, no sharps and flats.
You could dissect a track and study the arrangement. This will require some mental muscle, but it's worth it. Listen to one of your favorite tracks, dissect each 16 bar section. What's happening in the low end, what is the intro like, what sound effects are used. Be very detailed. Jot it down on paper, even better if you make a template with dummy midi-clips in your DAW.
There's are all nice things many of which are not terribly hard.
Lastly if you're not feeling creative then work on finishing. Finishing is a different mindset than creating. Give yourself a deadline and do it.
If you have your 8 bar idea or loop that sounds "hot," then pick one thing to do that will take it towards being a complete song - work on arranging it and nothing else.
No mix tweaks, no adding parts, no automation. Just arrange it how you like.
One of the best things you can do is work in 25 minute short bursts. Set a timer, or get a kitchen timer.
This is a great habit - focusing your attention on 1 thing for 25 minutes.
Think of production like exercise. You won't always feel like doing it, but you must do it anyway if you want the end results. And like exercise rest days and taking a week off here or there is very important.