Can't tell you what to do to prevent since we don't know what's causing it yet.
Try to start explorer.exe when you hit ctrl-alt-del together, from the task manager. Enter it in file | new task (run). If that doesn't work, can you login to safe mode alright?