I have been a musician for more than 20 years, but a serious musician for only about four (so I still have a long way to go!). As a writer, I'm much less experienced, so this may not translate to writer's block...
First, if I'm working on a deadline, then I force myself to do it, no excuses.
If no deadline, I put it aside and focus on something (still within the realm of getting better as a musician) that gives me joy. I may put it aside for a day, week, month, even a year as I focus on these other aspects of music. If the project is important to me, I'll come back to it... and I do. What is essential is that I don't begin to hate practicing music (or in this case, writing).
My thought would be - Don't lose your joy! Is there a story/style of writing that you've been toying with but never had the time to try? Do that for a while, make it fun again. And if it is something that is non-writing related (which I think is fine), I'd recommend that it be something that is not a time-waster. I wouldn't want to start creating bad habits that I'd have to break later.
If this project is important, you'll come back to it.