To get out of writer's block I actually get up from the computer and go outside. Nature has the best renewal effect on me. Also, I try writing something completely off the wall just to keep writing. Like if I'm writing a particularly emotional scene (drawing from past emotions) I might go off on a tangent of a UFO suddenly appears. Of course, I delete the tangent later but it does take the frustration of writer's block away.