I experienced that from time to time. There are days when I don’t feel like coding, reading or writing.
So I figure rather than wasting my time feeling guilty, I will do anything. So gaming and watching tv series/movies is my go to. Hell, I will even ask a friend out just for a meal and go home. At the end of the day, I will definitely feel refresh and ready.
And I also stop beating myself up for not working. Taking a break and play is necessary.