I don't really know how i got out of those situations, but simply focusing on something else always helped me, or drawing first thing in the morning after I had an idea the night before also helps me too. The point is, if you love drawing and writing, you will come back to it