The usual response to this type of question is most often "take a break".
But if you are the type that always work, this option could be annoying. Everyone is different, but what I do is keep all my projects I don't finish in a folder called (spare parts) Even the projects that I'm not feeling. What always happens is that days, weeks later I figure out what I actually wanted to do with that beat. Sometimes you figure it out later.