It's not exactly something that really happened to me, but my dreams actually started my idea for my Novels of the Breedline series. And I dreamed a wedding between two of my characters as though I was a guest. Then the next day, I added the wedding to my story.
I experience writers block all the time. Actually, I'm currently working through it now. I usually listen to music, read other books in my genre, watch a movie, or listen to an audiobook. I always keep a positive mind, believing it will pass. Most of all my chapters where I've suffered with writer's block turn out to be the best ones.