If you're a writer you will find many articles on this subject. And when you start your career you may struggle more with this problem than when you're an established writer.
During my four years as a writer, I haven't really struggled with this concept at all. There have been times where I've struggled to write when I have been stressed, rundown and tired, but this usually rights itself once I've had a rest.
So, how can you make sure you don't run into this problem yourself? I think many writers start out with an idea and are so enthusiastic about it that they start to write until they can't think anymore. They thought their idea was going somewhere until they stopped writing and now they have simply run out of ideas of what to write next. If this sounds familiar then I suggest you stop for a while and do something else, and then come back and brainstorm a few ideas to see if they can generate any further ideas.
While some writers can just go with the flow and have endless ideas coming to them, I think it's best to always have a loose idea of where you want your story to go. That way if you ever do have writer's block you'll always know where you eventually want to end up.
Another good way to overcome writer's block is to read other books. I know when I read I always seem to think up new ideas. But sometimes you just need to approach your story from another angle.
Maybe I haven't really suffered from this because I always write from an outline. Sometimes my outline is loose but sometimes it's compact.
So what do you think of writer's block? Have you ever experienced it? What are your solutions to it?
If you have another stressful situation to deal with in life I do not believe it's writer's block that prevents you from writing. I've just had a comment from a lady that has made me realise I should have made this point clear from the start. But if you struggle to write when nothing else is wrong then maybe you should try and rectify the problem.