Being in a rut is nothing new to me. My solution has been to go back through 40+ years of negatives to find new interpretations of old subjects. If you're new to photography this obviously doesn't work.
For the past several years, since bypass surgery, I've had a rough time being motivated to take any of my cameras out. I feel fine, just lacking in ambition to create new images. A lot of times I take a walk and just let my eyes be the camera. If something strikes me as a good subject it is noted and a follow up visit with a camera is made.
Don't push yourself into the need to make images just because you are there. Lack of motivation/ambition has resulted in fewer images but more of them tend to be keepers.