It is a well-known fact that everyone needs rest and a break from the normal routine of life. Sometimes a little sleep also helps to come on the track again. This is also an observation that while you are lying on the bed, you might have a sudden feeling of inspiration. I recommend you to write down whatever comes into your mind at this stage.
It does not matter if it is midnight or early in the morning. You also have an option to go for a walk or watch a movie. These will also help to some degree. Why you change the routine of life and do something different to overcome a writer’s block?
The answer is that your brain is stimulated when you see new things and change your routine of life. In this way, your imagination is boosted. For example, cleaning of the house, playing with pets and having fun of cooking can certainly help you to change the normal course of life. In simple words, what I want to say is totally forget that what you were writing about.
Don't punish yourself
If you are blocked and nothing is working for you, don’t worry and relax for some time. If you punish yourself, it would lie you down even more.
Keep in mind that even the best writers of their respective fields; also do face such a problem for some time. Their productivity is also affected and they only succeed to write for an hour a day or so. One of the best writers of his time was asked to write only one sentence per day.