I've always had the drive to create music compositions, since I was a kid (12). You do reach a point, where you're writing the same song over and over. That signifies it is time to read, learn more about music. I'm sure like many here, you buy a new kbd, and it inspires you to write song using it's patches.
I took music and songwriting lessons online. That gave me a batch of new inspiration to write. I took some songwriting courses online at Berkley Music in Boston. Great but expensive. Coursera.org has some great courses. They try to get you to pay, but you can 'audit' the course for free.
When you get some new ideas, they can inspire you to create something new. I took a harmony and voice leading course at courser. I didn't do well at all. But 2 months later, I decided that I was going to create pieces with maybe one or two instruments playing chords, then the rest of the tracks would be 1 or 2 voices. I did bet something from the voice leading course.
Lately I have really been into the psychology of music. Why do certain harmonics in an instrument voice affect you. How your choice of notes can evoke a feeling.
I've also been totally 'binge watching' shows on Amazon Prime, Hulu, Netflix. It made me realize you can 'script' a song out you would a TV series, One or two instruments are the lead characters, there are supporting instruments, there are some instruments that come in and change the scene of what the music is doing, then those instruments go out.