I know what that feels like--

In general, the only defense is to never let your guard down. Always be observant and focused in dreams. If there's nothing to think about, make something to think about. Laziness and relaxation are Lucidity's worst enemies.