Often times when I'm planning out a campaign I eventually get to that point where I can't think of what encounters or story elements I want to include next. Whenever that happens I have a tendency to watch games being played on Youtube. Seeing how players behave in games usually gives me an idea of what to do next.
Other than that I just leave for a while and hope I can think of something while I'm distracted.