My first manager out of college told me "you can't always perform at 100%, it's okay to have off days". That's gotten me through a lot of meh days at work.
I usually just try again tomorrow when I can't get anything done. Or I try at 5pm and work later than usual because I didn't do anything all day lol.