For some reason people have the impression that authors have glamorous lives. Going on adventures and doing crazy things all in the name of their current work in progress. Sadly this is not true for most authors. Most of us are regular people with regular jobs and lives. Sometimes life gets in the way of writing. Things like moving, changing jobs, joblessness and other life stressors impact writing negatively and can lead to writer's block.
I've been there numerous times. That awful place when life and problems just gets the better of me, causing my writing to stop completely. This is where support comes in handy. I've blogged before about author groups. They really do lend the support one needs when life sucks your creativity. Also I've blogged before about alleviating writer's block. One of the important steps being that you should identify the stressor.
What I failed to mention was the importance of gaol setting. Setting a daily and attainable goal will help with the writing. Don't sat a goal of a 1000 words a day if you know you will only manage to write 500. Anything you write above this goal is a bonus and deserves a pat on the back.
The most important thing, however, is to have faith in yourself. If you believe you can achieve your gaol then you will. And remember, life does not stay sucky. It improves. Sometimes it just takes a little time and effort.